Code Monkey home page Code Monkey logo

Comments (6)

ltomuta avatar ltomuta commented on May 22, 2024

Hi Fabrice,

You are right, this is a change in PR1.1. Earlier we used for example the generic "fi" culture and now we are using "fi-FI", following the official Windows Phone documentation for supported languages. This was done because the app must use the same culture as the library supports (it does not work if app uses "fi-FI" and lib supports only "fi" or the other way around, as discovered in #10) and I considered that it is easier for both apps and lib to align themselves to that least rather than fighting over which culture to use.

I will have to investigate how the platforms handles fr-BE, a language not listed in http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202918(v=vs.105).aspx

Best regards,
Lucian

from rate-my-app.

fabmoll avatar fabmoll commented on May 22, 2024

Hi Lucian,

Thank you for the answer.

Please note that my phone uses fr-BE as Culture but my UI Culture is fr-FR like in the link you provided.

In fact I would like to use in my project properties the "French" language (fr) like that all kind of "fr" (Canada fr-CA, France fr-FR, Belgium fr-BE,...) can use my generic resource file (AppResources.fr.resx).

And it works for the moment. The only issue is that RateMyApp seems to not detect my UI Culture fr-Fr.

I think I gave you all the information needed. If you need something else please let me know (test, phone info.,...)

Regards,

Fabrice

from rate-my-app.

ltomuta avatar ltomuta commented on May 22, 2024

Right, I checked now and indeed, for UI culture the only possible value is "fr-FR" which matches the "French" value for the "phone language" settings. It would make sense for that setting to be encoded as "fr" but for some reasons Microsoft chose to use the "fr-FR" variant.

There are several French-based options for Regional format but neither of them seem to match "fr-BE", at least not on my phone. What is the value you have set for regional format?

Regardless, the regional format should have no impact on UI strings, they all are expected to match the UI Culture so using "fr-FR" should give you always the French translation on WP. Try this, use "French (France)" in your project's localization settings.

from rate-my-app.

fabmoll avatar fabmoll commented on May 22, 2024

My phone language is French, country is Belgium and Regional settings is French Belgium.

So UI culture is fr-Fr.

If I use French France in my project properties RateMyApp is localized in French. But VS created a specific resx file for French France - AppResources.fr-Fr.resx

With that my app is localized in English (default resx file) and my AppResources.fr.resx is ignored.

Do you want a sample project?

from rate-my-app.

ltomuta avatar ltomuta commented on May 22, 2024

Just rename the AppResources.fr.resx file as AppResources.fr-Fr.resx and it will be loaded for all French-based cultures.

Lucian

Sent from my Nokia Lumia 920 powered by Windows Phone 8

from rate-my-app.

fabmoll avatar fabmoll commented on May 22, 2024

Ok, added French-France in project properties, and renamed my resx file (AppResources.fr.resx file as AppResources.fr-Fr.resx) and now it works.

Tested english version, French France version and French Belgium version.

Thank you for your help!

Regards,

Fabrice

from rate-my-app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.