From f2f593f2a60eb941528d7266ae4718ff549b165e Mon Sep 17 00:00:00 2001 From: Rafael Fontenelle Date: Wed, 8 May 2024 14:38:10 -0300 Subject: [PATCH] Docs: Languages code are now normalized (#11315) --- docs/user/reference/environment-variables.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/user/reference/environment-variables.rst b/docs/user/reference/environment-variables.rst index aff144acb29..786d7c7a911 100644 --- a/docs/user/reference/environment-variables.rst +++ b/docs/user/reference/environment-variables.rst @@ -16,13 +16,14 @@ All :doc:`build processes ` 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