Skip to content

Commit f2f593f

Browse files
authored
Docs: Languages code are now normalized (#11315)
1 parent 84482fb commit f2f593f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/user/reference/environment-variables.rst

+4-3
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,14 @@ All :doc:`build processes </builds>` have the following environment variables au
1616
.. envvar:: READTHEDOCS_LANGUAGE
1717

1818
The locale name, or the identifier for the locale, for the project being built.
19-
This value comes from the project's configured language.
19+
This value comes from the project's configured language code,
20+
which is in lowercase and use a dash as a separator.
2021

2122
:Example: ``en``
2223
:Example: ``it``
23-
:Example: ``de_AT``
24+
:Example: ``de-at``
2425
:Example: ``es``
25-
:Example: ``pt_BR``
26+
:Example: ``pt-br``
2627

2728
.. envvar:: READTHEDOCS_VERSION
2829

0 commit comments

Comments
 (0)