Skip to content

Commit

Permalink
Docs: Languages code are now normalized (#11315)
Browse files Browse the repository at this point in the history
  • Loading branch information
rffontenelle authored May 8, 2024
1 parent 84482fb commit f2f593f
Showing 1 changed file with 4 additions and 3 deletions.
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 code,
which is in lowercase and use a dash as a separator.

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

.. envvar:: READTHEDOCS_VERSION

Expand Down

0 comments on commit f2f593f

Please sign in to comment.