Hi David,
Regarding the query
“Also I would want it to be configurable (e.g. the app language should be independent from the device settings language, as I have many users and depending on the user I select one or other language)”In iOS, you can change the default
CultureInfo/language in application level by following the below steps.
In application level, you need to keep the folder in Xamarin.Forms iOS project under Resources -> {localizationprefix}.lproj -> Localizable.strings.
Ex: In your case, Resources -> es.lproj->Localizable.strings
In this Localizable.strings file, you need to add string with same key given in our source Localizable.strings file. For value, you should provide the equivalent localized string for the Spanish string which we keep in source Localizable.strings.
Ex: In your case, add this string
(“Week=”Semana;”) in Localizable.strings file.
Then, go to the
Info.plist file -> Click Source tab -> Add new property
Localization native development region and provide your culture name as key.
Ex: In your case, the key should be es string.
Please refer the below link for further details.
Link: https://stackoverflow.com/questions/21460202/set-default-localization-of-ios-app We have modified the sample as per this requirement which can be downloaded from the following location.
Sample: http://www.syncfusion.com/downloads/support/forum/130097/ze/LocalizationSample1751063095 Please check the attached sample and let us know if you need further assistance on this.
Regards,
Saravana Pandian M