Xamarin plugin to handle localization of language for cross platform applications.
- Available on NuGet: sl.xamarin.multilingual
- Dependency by dll: Download project and build by your own, or extract dll from NuGet package with NuGetPackageExplorer
- Change of the language your application use which resx files
- Show default language of the device
- Show available languages
Based on the default libraries, provided by Xamarin for cross plattform applications.
Add "resx" files for the specific languages
To provide different languages for your application, you will need different ressource files "resx". a default ressource file without language code and one each lananguage. The name for this files follows a specific naming convention, which using the file name and the specific language code.
To use this multilingual plugin also in your xaml code, you will need a extension, which load the text from your ressource file dynamicly
Set the culture of your application
Xamarin Forms Controls
If you use native controls from the Xamarin Forms library you need to reimplemented them native with the specific renderer classes. Because they always take the language for this controls from the current cultur of the device.
You can find a example for a custom renderer in the example application. This shows a picker.