8000 [Translation] Add a tip about Crowdin language mapping · symfony/symfony-docs@0aec4ed · GitHub
[go: up one dir, main page]

Skip to content

Commit 0aec4ed

Browse files
committed
[Translation] Add 8000 a tip about Crowdin language mapping
1 parent 47fdf40 commit 0aec4ed

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
@@ -1546,3 +1553,5 @@ Learn more
15461553
.. _`Symfony Demo`: https://github.com/symfony/demo
15471554
.. _`Identification via User-Agent`: https://developers.phrase.com/api/#overview--identification-via-user-agent
15481555
.. _`Phrase Tag Bundle`: https://github.com/wickedOne/phrase-tag-bundle
1556+
.. _`Crowdin Language Codes`: https://developer.crowdin.com/language-codes
1557+
.. _`Custom Language Codes`: https://support.crowdin.com/project-settings/#languages

0 commit comments

Comments
 (0)
0