Skip to content
New issue

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

Languages code are now normalized #11315

Merged
merged 3 commits into from
May 8, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions docs/user/reference/environment-variables.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ All :doc:`build processes </builds>` have the following environment variables au
.. envvar:: READTHEDOCS_LANGUAGE

The locale name, or the identifier for the locale, for the project being built.
This value comes from the project's configured language.
This value comes from the project's configured language,
normalized to be lowercase and use a dash as a separator instead of an underscore.
rffontenelle marked this conversation as resolved.
Show resolved Hide resolved
rffontenelle marked this conversation as resolved.
Show resolved Hide resolved

:Example: ``en``
:Example: ``it``
:Example: ``de_AT``
:Example: ``de-at``
:Example: ``es``
:Example: ``pt_BR``
:Example: ``pt-br``

.. envvar:: READTHEDOCS_VERSION

Expand Down