Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b583a60

Browse filesBrowse files
committed
Merge branch '7.2' into 7.3
* 7.2: fix: Change translation domain name for bundle translation and add an example
2 parents fd0354e + e276d41 commit b583a60
Copy full SHA for b583a60

File tree

1 file changed

+5
-1
lines changed
Filter options

1 file changed

+5
-1
lines changed

‎bundles/best_practices.rst

Copy file name to clipboardExpand all lines: bundles/best_practices.rst
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,10 +397,14 @@ Translation Files
397397
-----------------
398398

399399
If a bundle provides message translations, they must be defined in the XLIFF
400-
format; the domain should be named after the bundle name (``acme_blog``).
400+
format; the domain should be named after the bundle name (``AcmeBlog``).
401401

402402
A bundle must not override existing messages from another bundle.
403403

404+
The translation domain must match the translation file names. For example,
405+
if the translation domain is ``AcmeBlog``, the English translation file name
406+
should be ``AcmeBlog.en.xlf``.
407+
404408
Configuration
405409
-------------
406410

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.