We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discussed in:
zh
zh-cn
Sphinx uses the standard locales zh_CN and zh_TW, where instead we provide only the translation locale option of zh.
zh_CN
zh_TW
We need:
The text was updated successfully, but these errors were encountered:
Comparing the list of our project locales with the current list of locales in Django, we have a lot of old and outdated locales.
Here are the locales that we support that are no longer supported in Django (some locales no longer exist even):
> locale_project - locale_django {'aa', 'ab', 'acr', 'agu', 'am', 'as', 'ay', 'ba', 'bh', 'bi', 'bo', 'caa', 'cab', 'cac', 'cak', 'co', 'dz', 'fj', 'fo', 'gn', 'gu', 'ha', 'ie', 'ik', 'itz', 'iu', 'ixl', 'jac', 'jv', 'kek', 'kjb', 'kl', 'knj', 'ks', 'ku', 'la', 'ln', 'lo', 'mam', 'mg', 'mi', 'mop', 'mt', 'na', 'nb-no', 'oc', 'om', 'or', 'pnb', 'poc', 'poh', 'ps', 'qu', 'quc', 'qum', 'quv', 'rm', 'rn', 'rw', 'sa', 'sd', 'sg', 'si', 'skr', 'sm', 'sn', 'so', 'ss', 'st', 'su', 'ti', 'tl', 'tn', 'to', 'ts', 'ttc', 'tw', 'tzj', 'ug', 'uk-ua', 'usp', 'vo', 'wo', 'xh', 'xin', 'yi', 'yo', 'za', 'zu'}
And the locales that Django supports that we should support now:
> locale_django - locale_project {'ar-dz', 'ast', 'bs', 'ckb', 'dsb', 'en-au', 'en-gb', 'es-ar', 'es-co', 'es-ni', 'es-ve', 'hsb', 'ig', 'io', 'kab', 'lb', 'nb', 'nn', 'os', 'sr-latn', 'udm', 'zh-hans', 'zh-hant', 'zh-hk', 'zh-mo', 'zh-my', 'zh-sg'}
I pointed out above that Django has a concept of locale fallback that we aren't using either.
Sorry, something went wrong.
The fallback here to defaulting to the language code is now live, and the pages at least aren't 500ing anymore.
No branches or pull requests
Discussed in:
zh
language ext-theme#358zh-cn
if the language code is the unsupportedzh
ext-theme#370Sphinx uses the standard locales
zh_CN
andzh_TW
, where instead we provide only the translation locale option ofzh
.We need:
The text was updated successfully, but these errors were encountered: