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