Skip to content

Commit 506deec

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: [Translation] Add a tip about Crowdin language mapping
2 parents e9ccdf1 + 6b61700 commit 506deec

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
@@ -693,6 +693,13 @@ configure the ``providers`` option:
693693
Also make the locale _names_ in Phrase should be as defined in RFC4646 (e.g. pt-BR rather than pt_BR).
694694
Not doing so will result in Phrase creating a new locale for the imported keys.
695695

696+
.. tip::
697+
698+
If you use Crowdin as a provider and some of your locales are different from
699+
the `Crowdin Language Codes`_, you have to set the `Custom Language Codes`_ in the Crowdin project
700+
for each of your locales, in order to override the default value. You need to select the
701+
"locale" placeholder and specify the custom code in the "Custom Code" field.
702+
696703
.. tip::
697704

698705
If you use Lokalise as a provider and a locale format following the `ISO
@@ -1515,5 +1522,7 @@ Learn more
15151522
.. _`GitHub Actions`: https://docs.github.com/en/free-pro-team@latest/actions
15161523
.. _`pseudolocalization`: https://en.wikipedia.org/wiki/Pseudolocalization
15171524
.. _`Symfony Demo`: https://github.com/symfony/demo
1525+
.. _`Crowdin Language Codes`: https://developer.crowdin.com/language-codes
1526+
.. _`Custom Language Codes`: https://support.crowdin.com/project-settings/#languages
15181527
.. _`Identification via User-Agent`: https://developers.phrase.com/api/#overview--identification-via-user-agent
15191528
.. _`Phrase Tag Bundle`: https://github.com/wickedOne/phrase-tag-bundle

0 commit comments

Comments
 (0)