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.
- 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.
- Right click on your shared project, click on multilingual app toolkit and select add translation languages.
- Select your language choices, after this .xlf files will be created in your project.
- Right click on your project, go to Multilingual App Toolkit and select Generate machine translations.
- Build your project and, you will have all your string resources translated to the language of your choice.
Top comments (0)