If you have an application localized in
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:
zh-tw, …. – in fact in this case I know that
zhcan be used as predominant language for Simplified Chinese where full code is
zh-hans. For Traditional Chinese, with codes like
zh-mothe proper code (canonical) should be
Q1: 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.
Q2: If the system reported Simplified Chinese (PRC) (
zh-cn) as preferred language of the user and I have translation only for English and Traditional Chinese (
en,zh-tw) what should I choose from the two options: