To change a language automatically, should you use the Keyboard Language or the Location value?
To change a language a开发者_如何学JAVAutomatically, should you use the Keyboard Language or the Location value?
Well, I'm from Spain... usually I have my keyboard arranged in Spanish Traditional Sorting (AKA Spanish International), but sometimes I change it to en_us for some tasks... anyway, the locale of my operating system is always in Spanish, even if some applications are in English (because they don't have an Spanish translation or whatever).
The point is, if a user has his OS and environment set to a particular language, usually that's his preferred language. That's not always true for the keyboard, as some sortings are better for some tasks (like, your language sorting for writing in your language, en_us for programming or using legacy software, and so on...).
Hopefully all this makes clear the best choice for your question ;).
In my situation I am in Japan, but uses english as the working language. So, I prefer language to be English. It depends on the situation. But, usually keyboard language depict the working language of the user. Hence, I recommend changing the language to keyboard language.
精彩评论