If you have an application localized in pt-br and pt-pt, what language you should choose if the syst

Posted by Sorin Sbarnea on Stack Overflow See other posts from Stack Overflow or by Sorin Sbarnea
Published on 2010-03-23T13:07:49Z Indexed on 2010/03/23 13:13 UTC
Read the original article Hit count: 331

Filed under:
|
|
|

If you have an application localized in pt-br and pt-pt, what language you should choose if the system is reporting only pt code (generic Portuguese)?

This question is independent of the nature of the application, desktop, mobile or browser based. Let's assume you are not able to get region information from another source and you have to choose one language as the default one.

The question does apply as well for more case including: * pt-pt and pt-br * en-us and en-gb * fr-fr and fr-CA * zh-cn, zh-tw, .... - in fact in this case I know that zh can be used as predominant language for Simplified Chinese where full code is zh-hans. For zh-tw, zh-hant-tw, zh-hk, zh-mo the proper code (canonical) should be zh-hant.

In fact the question can be extended to: How to I determine the predominant languages for a specified meta-language?

I need a solution that will include at least Portuguese, English and French.

© Stack Overflow or respective owner

Related posts about i18n

Related posts about culture