Django Book 翻译
菜单>:
TOC
返回
原文:
In each of these places, the language preference is expected to be in the standard language format, as a string. For example, Brazilian Portuguese is ``pt-br`` . If a base language is available but the sub-language specified is not, Django uses the base language. For example, if a user specifies ``de-at`` (Austrian German) but Django only has ``de`` available, Django uses ``de`` .
翻译:
在上述每一处,语言偏好应作为字符串,以标准的语言格式出现。比如,巴西地区的葡萄牙语表示为 ``pt-br`` 。如果Django中只有基本语言而没有其衍生的字语言的话,Django将只是用基本语言。比如,如果用户指定了 ``de-at`` (澳式德语)但Django只有针对 ``de`` 的翻译,那么 ``de`` 会被选用。
备注:
译者: