Skip to content

Commit cf8d5ae

Browse files
committed
phrase locale names
- added important bit about naming your locales in phrase as the used upload format (symfony xliff) causes phrase to ignore the locale_id send with the uploads and uses the extracted value from the target-language attribute in the xliff file for matching
1 parent 20c05bd commit cf8d5ae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

translation.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,9 @@ configure the ``providers`` option:
698698
If you use Phrase as a provider you must configure a user agent in your dsn. See
699699
`Identification via User-Agent`_ for reasoning and some examples.
700700

701+
Also make the locale _names_ in Phrase should be as defined in RFC4646 (e.g. pt-BR rather than pt_BR).
702+
Not doing so will result in Phrase creating a new locale for the imported keys.
703+
701704
.. tip::
702705

703706
If you use Lokalise as a provider and a locale format following the `ISO

0 commit comments

Comments
 (0)