You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.readthedocs.yml sets -D language=$READTHEDOCS_LANGUAGE and the environment variable $READTHEDOCS_LANGUAGE in Read The Docs gives pt-br and zh-cn (all lowercase, dash instead of underscore). This causes the docs build to not find the translation files (since there is a pt_BR/ directory, not a pt-br/).
One solution is to map the language codes so that pt_BR in Transifex is downloaded as pt-br, etc. Another solution is to convert pt_BR -> pt-br when running in readthedocs
The text was updated successfully, but these errors were encountered:
@AA-Turner Could you please configure pull request builds in sphinx-pt-br project at Read the Docs? I would like to test mapping language & renaming directory pt_BR to pt-br in a pull request, and I this preview build would be very handy
The following language codes are now normalized to be lowercase and use a dash as a separator instead of an underscore:
pt_BR is now pt-br
zh_CN is now zh-cn
.readthedocs.yml sets
-D language=$READTHEDOCS_LANGUAGE
and the environment variable $READTHEDOCS_LANGUAGE in Read The Docs givespt-br
andzh-cn
(all lowercase, dash instead of underscore). This causes the docs build to not find the translation files (since there is a pt_BR/ directory, not a pt-br/).One solution is to map the language codes so that pt_BR in Transifex is downloaded as pt-br, etc. Another solution is to convert pt_BR -> pt-br when running in readthedocs
The text was updated successfully, but these errors were encountered: