Language codes are now normalized¶
The following language codes are now normalized to be lowercase and use a dash as a separator instead of an underscore:
This change affects the following areas:
When creating or updating projects, you must now use the new normalized language codes.
The API responses will include the new normalized language codes.
- Docs and download URLs:
Previous URLs from projects using the old language codes will redirect to the new normalized language codes. For example:
https://docs.readthedocs/pt_BR/latest/will redirect to
https://docs.readthedocs/_/downloads/pt_BR/latest/pdf/will redirect to
If you had redirects using the old language codes in the
From URLfield, they were automatically updated to use the new normalized language codes.
This change was implemented to ensure more readable and clean URLs.