Skip to main content Skip to footer

How to Localize C1RichTextBox for WPF

When you localize a WPF application you have several options. See Microsoft's documentation for best practices. When you use ComponentOne controls in your application the localized resources are automatically included in your output based upon the published language you specify in your project's settings. They will come from their installed location under C:\Program Files\MESCIUS\ComponentOne\WPF Edition\bin, and do not need to be added manually to the project. Change the UI Culture of your application to the desired culture. One way of doing this is on the application's current thread:

// set culture to Spanish ("es")  
Thread.CurrentThread.CurrentUICulture = new CultureInfo("es");

WPF RichTextBox Localization

With ComponentOne WPF Edition, you can now broaden your global audience with built-in localization support for 20+ international languages. Some other controls have many baked in UI strings that can benefit from quick localization including C1Scheduler, C1DataGrid, C1DockControl, C1PdfViewer and C1RichTextBoxToolbar. The UI strings baked into ComponentOne WPF controls can be automatically translated into these languages (aside from English).

  1. Arabic (ar)

  2. Danish (da)

  3. Dutch (nl)

  4. Finnish (fi)

  5. French (fr)

  6. German (de)

  7. Hebrew (he)

  8. Italian (it)

  9. Japanese (ja)

  10. Norwegian (no)

  11. Portuguese (pt)

  12. Russian (ru)

  13. Spanish (es)

  14. Swedish (sv)

  15. Czech (cs)

  16. Greek (el)

  17. Polish (pl)

  18. Slovak (sk)

  19. General Chinese (zh)

  20. Traditional Chinese (zh-Hant)

  21. Simplified Chinese (zh-Hans)

  22. Turkish (tr)

  23. Romanian (ro)