区域设置code希伯来语/参考其他区域codeS? [英] Locale code for Hebrew / Reference to other locale codes?

查看:194
本文介绍了区域设置code希伯来语/参考其他区域codeS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是Android中资源的区域设置code希伯来语,如字符串(值-XX)?在哪里可以找到其他的codeS?

在此先感谢。

解决方案
  

语言是由两个字母 ISO 639定义-1 语言code,   后面可以跟两个字母的ISO 3166-1-α-2区code   (preceded由小写字母R)。

的<一个href="http://developer.android.com/guide/topics/resources/providing-resources.html#AlternativeResources"相对=nofollow>提供了资源

据链接表,是预选赛的希伯来语。

注意:有些设备使用 IW ,而不是作为的错误545 注意到,在评论,所以你最好检查这两种情况。请参见这个问题了解更多信息。

What's the locale code for Hebrew in Android resources, like strings (values-XX)? And where to find other codes?

Thanks in advance.

解决方案

The language is defined by a two-letter ISO 639-1 language code, optionally followed by a two letter ISO 3166-1-alpha-2 region code (preceded by lowercase "r").

from Providing Resources

According to the linked table, he is the qualifier for hebrew.

Note: Some devices use iw instead, as Error 545 noted in the comments, so you better check for both cases. See this question for more information.

这篇关于区域设置code希伯来语/参考其他区域codeS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆