SANDEEP
SANDEEP

Reputation: 1082

How to change images using xamarin Localizing

I am new in xamarin and working on xamarin forms multilingual.i have convert my application in support to different languages using resource file but at the end i could'nt find the solution for images i also want to change image according to culture suppose i have different assets for different culture.can any one tell me help regarding this.

Upvotes: 0

Views: 279

Answers (2)

Gerald Versluis
Gerald Versluis

Reputation: 34083

There already is a good guide on this here.

For iOS you should have a .lproj folder as you may already have if you have localised text already. You can then just add the localised image in there with the same name and it will be picked up automatically.

lproj folders

On Android you can just create localised subfolders under the Resources folder and also add localised image files with the same name.

localised folders

Upvotes: 1

user7167576
user7167576

Reputation:

At xamarin site is a good guid to this issue https://developer.xamarin.com/guides/xamarin-forms/advanced/localization/

Upvotes: 0

Related Questions