Application translations DOES NOT override addon translations
See original GitHub issue- I am on the latest ember-intl version
- I have searched the issues of this repo and believe that this is not a duplicate
Environment
- Ember Version: 3.12.1
- Ember CLI Version: 3.12.0
- Ember Intl Version: 4.2.0
- Browser(s): Chrome
- Node Version: v10.16.3
Steps to Reproduce
- Create an empty app, add
ember-intl
add-on - Create 2 empty add-on, called “aaaa” & the other “zzzz”
- Add
ember-intl
in the 2 add-ons - Create a translation called “aaaa_translation” in
translations/en-us.yaml
of “aaaa” add-on - Create a translation called “zzzz_translation” in
translations/en-us.yaml
of “zzzz” add-on yarn/npm link
the add-ons with the app & add it inpackage.json
of the application- Override “aaaa_translation” & “zzzz_translation” in in
translations/en-us.yaml
of the application ember serve
…
It seems that the translations files are not correctly merged. Here a dump of listFiles
from the reduce
function in lib/broccoli/translation-reducer/index.js
:
[ '/tmp/broccoli-54539WABk1c5bWG3/out-229-funnel/aaaa/en-us.yaml',
'/tmp/broccoli-54539WABk1c5bWG3/out-229-funnel/en-us.yaml',
'/tmp/broccoli-54539WABk1c5bWG3/out-229-funnel/fr-fr.yaml',
'/tmp/broccoli-54539WABk1c5bWG3/out-229-funnel/zzzz/en-us.yaml' ]
en-us.yaml
from “zzzz” add-on always override the en-us.yaml
from application.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Allow synced Layout override Translations - Drupal
If block_content entities are not translatable. When creating the translate layout field override duplicate the block so it is new entity. This ...
Read more >Why are some items not translated in Odoo? - Stack Overflow
Go to Settings > Translations > Load a Translation, select your language and check the box Overwrite Existing Terms, then click on Load...
Read more >Translations (.po files) not updating? - Odoo
Another solution is to manually re-import the changed .po file from Settings => Translations => Import/Export => Import Translation. In some cases the...
Read more >Working with Translation Files - Business Central
How to work with translations, multilanguage, and XLIFF files in Business Central.
Read more >translation Language Override Loading - WHMCS.Community
Hi guys, i translated few content on my whmcs theme installation by ... No sure why override content does not load at first...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in 4.2.2 🎉 Thank you
Should be fixed in v4.2.2 please reopen a new issue if it continues.