Getting Started with ComponentOne Studio UWP Edition
Localization

Localization for UWP projects is more complex than in other applications since your application will honor the language set by the end-user in their system's Control Panel.

The following controls contain resources which can be localized:

  • Barcode
  • Calendar
  • ColorPicker
  • Extended
  • FlexViewer
  • PdfViewer
  • RichTextBox
  • RichTextBoxMenu
  • Scheduler
  • SpellChecker

The following languages are supported:

  1. Arabic (ar)
  2. Czech (cs)
  3. Danish (da)
  4. Dutch (nl)
  5. English(en)
  6. English(en-US)
  7. German (de)
  8. Greek (el)
  9. Spanish (es)
  10. Finnish (fi)
  11. French (fr)
  12. Hebrew (he)
  13. Hungarian (hu)
  14. Hungarian-Hungary (hu-Hu)
  15. Italian (it)
  16. Japanese (ja)
  17. Norwegian (no)
  18. Polish (pl)
  19. Portuguese (pt)
  20. Romanian (ro)
  21. Russian (ru)
  22. Slovak (sk)
  23. Slovenian (sl)
  24. Swedish (sv)
  25. Turkish (tr)
  26. Chinese (zh)
  27. Traditional Chinese (zh-Hant) - Taiwan, Hong Kong
  28. Simplified Chinese (zh-Hans) - China

Note that supported languages for C1Barcode are Japanese, Portuguese, Russian, Spanish, Traditional Chinese, and Simplified Chinese.

You can change the language for the application by setting it in the Package.appxmanifest; or by setting the PrimaryLanguageOverride in MainPage() constructor of your application, as shown below:

C#
Copy Code
Windows.Globalization.ApplicationLanguages.PrimaryLanguageOverride = "ja-JP";

For more information on localization in UWP applications, see Globalization and localization from MSDN.

For more advanced information on localization, see Tim Heuer's blog post, Ensuring your Windows store app knows of a language change.