Android localize es-r419

前端 未结 4 1303
情歌与酒
情歌与酒 2021-02-01 21:51

I\'m localizing my app and one of the language/region supported is Espanol-419. Android doesn\'t support the naming convention values-es-r419 but it does accept values-en-rGB.

4条回答
  •  庸人自扰
    2021-02-01 22:28

    es-r419 = es-rUS. 
    

    change the folder name to values-es-rUS for consistency with runtime user options.

    When using Google Translation services, when you request translation to Spanish for Latin America, you will receive es-r419 folder returned.

    When looking at AOSP source, or in the settings->language and input->language, you will see Spanish and Spanish (United States).

    At runtime, selecting language = Spanish (United States), you will not see strings pulled from values-es-r419, and of course you will see strings pulled from values-es-rUS

提交回复
热议问题