DEV Community

Cover image for Multilingual In Xamarin forms.
Shubham_Baghel
Shubham_Baghel

Posted on • Updated on • Originally published at marketplace.visualstudio.com

Multilingual In Xamarin forms.

Mobile Application Development.

Make your Xamarin.Forms app Multilingual Automatically

Install the extension, configure it and the project properly.
We will create the project and make the user interface load the appropriate language resources depending on the user’s current language.
Here, I’ll guide you through the steps required to make the extension work properly, you will have to go through most of these steps only once and after, you will only have to translate your strings with a few clicks. You need to install the Multilingual App Toolkit extension from.
https://marketplace.visualstudio.com/items?itemName=MultilingualAppToolkit.MultilingualAppToolkit18308 and follow these steps.

  1. Create an azure translator text API resource, which you will use in project

 Take down your API key. Open your credential manager in Windows control panel

 Select add generic credentials.  Add exactly the same credentials as shown below, your password is your Translator key you kept earlier.

  1. Right click on your shared project, click on multilingual app toolkit and select add translation languages.
    1. Select your language choices, after this .xlf files will be created in your project.
    2. Right click on your project, go to Multilingual App Toolkit and select Generate machine translations.
    3. Build your project and, you will have all your string resources translated to the language of your choice.

Top comments (0)