i am new to Windows store app. now i created the folder for the resource file for French[Strings -> fr-FR ->Resources.resw] and English[Strings -> en-US ->Resources.resw]. and declared the Heading1="hdFREN" and Heading1="hdENG" respectively.
now i have to call the Heading1 to the TextBlock text="".. How to declare the text in the TextBlock control???
Actually i created the resources.resw in the root folder [Strings -> fr-FR ->Resources.resw] and English[Strings -> en-US ->Resources.resw]. then i am creating manually LocalizedStrings
enter code here
public class LocalizedStrings {
private static Resources _localizedResources = new Resources();
public Resources LocalizedResources { get { return _localizedResources; } }
}
now i can't call that Resources file. it is showing error
This is a an overview of localization, and should address most of your questions.
Quickstart: Translating UI resources (Windows Store apps using C#/VB/C++ and XAML)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.