none
Silverlight localization

    Question

  • Hi there

    Cannot implement the localization for the Silverlight application for, say, French-language computer.

    If my computer is English-speaking, it works Ok for the en-Ca, en-US, fr-CA, it switches the languages properly.

    As soon as it comes to French-language computer, I can switch en-US and fr-CA, but en-CA gives me the French language.

    The resources that I have in the project: Strings.resx and Strings-fr-Ca.resx only.

    It seems like the en-CA is the default for the Strings.resx and the French-speaking machine uses the French as a default.

    How to make it to show the en-CA instead of French?

    Thanks.

    Friday, January 05, 2018 3:35 PM

Answers

  • I fixed it by creating the explicit en-CA resource from the default one.

    I simply set up the pre-build script for copying file. Awkward, but I did not find a better solution.

    Thanks.

    • Marked as answer by Renziglov Wednesday, January 10, 2018 1:28 PM
    Wednesday, January 10, 2018 1:28 PM

All replies