Skip to content

Commit

Permalink
docs: Update languages FAQ
Browse files Browse the repository at this point in the history
- Use up to date RFC (see #5914)
- Add more links to relevant documentation
- Add note about using POSIX style codes
  • Loading branch information
nijel committed Jun 29, 2021
1 parent cb3ebd9 commit c716bec
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions docs/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -504,14 +504,21 @@ actually translating.
Why does Weblate use language codes such sr_Latn or zh_Hant?
------------------------------------------------------------

These are language codes defined by :rfc:`4646` to better indicate that they
These are language codes defined by :rfc:`5646` to better indicate that they
are really different languages instead previously wrongly used modifiers (for
``@latin`` variants) or country codes (for Chinese).

Weblate still understands legacy language codes and will map them to
current one - for example ``sr@latin`` will be handled as ``sr_Latn`` or
``zh@CN`` as ``zh_Hans``.

.. note::

Weblate defaults to POSIX style language codes with underscore, see
:ref:`languages` for more details.

.. seealso::

:ref:`languages`
:ref:`languages`,
:ref:`component-language_code_style`,
:ref:`new-translations`

0 comments on commit c716bec

Please sign in to comment.