Skip to content

Commit 6b61700

Browse files
committed
Merge branch '6.3' into 6.4
* 6.3: [Translation] Add a tip about Crowdin language mapping
2 parents f0e7f8f + 92c1397 commit 6b61700

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

translation.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -706,6 +706,13 @@ configure the ``providers`` option:
706706
Also make the locale _names_ in Phrase should be as defined in RFC4646 (e.g. pt-BR rather than pt_BR).
707707
Not doing so will result in Phrase creating a new locale for the imported keys.
708708

709+
.. tip::
710+
711+
If you use Crowdin as a provider and some of your locales are different from
712+
the `Crowdin Language Codes`_, you have to set the `Custom Language Codes`_ in the Crowdin project
713+
for each of your locales, in order to override the default value. You need to select the
714+
"locale" placeholder and specify the custom code in the "Custom Code" field.
715+
709716
.. tip::
710717

711718
If you use Lokalise as a provider and a locale format following the `ISO
@@ -1544,5 +1551,7 @@ Learn more
15441551
.. _`GitHub Actions`: https://docs.github.com/en/free-pro-team@latest/actions
15451552
.. _`pseudolocalization`: https://en.wikipedia.org/wiki/Pseudolocalization
15461553
.. _`Symfony Demo`: https://github.com/symfony/demo
1554+
.. _`Crowdin Language Codes`: https://developer.crowdin.com/language-codes
1555+
.. _`Custom Language Codes`: https://support.crowdin.com/project-settings/#languages
15471556
.. _`Identification via User-Agent`: https://developers.phrase.com/api/#overview--identification-via-user-agent
15481557
.. _`Phrase Tag Bundle`: https://github.com/wickedOne/phrase-tag-bundle

0 commit comments

Comments
 (0)