i need to creata a app with support multilingual.
So i did a sample app like below.
Page.xamal
<StackLayout
VerticalOptions="CenterAndExpand">
<Label Text="{x:Static local:AppResources.Title}" TextColor="Black"
HorizontalOptions="CenterAndExpand" />
<Button Text="{x:Static local:AppResources.ClickMe}" Clicked="Button1_Clicked"/>
<Label Text="{x:Static local:AppResources.Title}" TextColor="Black"
HorizontalOptions="CenterAndExpand" />
<Button Text="{x:Static local:AppResources.ClickMe}" Clicked="Button2_Clicked"/>
</StackLayout>
page.xamal.cs
private void Button1_Clicked(object sender, EventArgs e)
{
CultureInfo culture = new CultureInfo("th");
AppResources.Culture = culture;
}
as xmarin forms documentation provide i set the AssemblyInfo.cs (Common folder)
[assembly: NeutralResourcesLanguage("en-GB")]
so my default language is "en-GB".
i have 3 AppRerources.resx
- AppResources.resx
- AppResources.th.resx
- AppResources.en-GB.resx
but when i press first button i could not see that app is changing the language.
anything i missed here?

