You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want our translation department to be responsible for all strings
We want to ignore the strings our developers have written in the HTML files
Therefore we need one build per messages.xlf file and no build for the "sourceLocale"
At the moment we are forced to manually copy the strings from the messages.en-us.xlf file back into our HTML every time our translation department makes a change to en-US
Possible solutions:
Allow "translation" as a property of "sourceLocale"
Anything else relevant?
I know that there are several workarounds. For example we could provide a non-existent source locale "sourceLocale": "aa-aa" and delete the build afterwards. However our app is very big and we want to save the build time.
Furthermore our actual setup is more complex than the example provided above. For example the translations for the same locale e.g. my-app.com/de/en-US and my-app.com/us/en-US can be different. It would be useful for angular.json to provide some sort of nesting of the locales.
馃悶 bug report
I can't use a translation file for en-US:
Description
Possible solutions:
"translation"as a property of"sourceLocale"馃敩 Minimal Reproduction
https://github.com/MartinJaskulla/angular-issue-38316
馃敟 Exception or Error
馃實 Your Environment
Angular Version:
Anything else relevant?
I know that there are several workarounds. For example we could provide a non-existent source locale
"sourceLocale": "aa-aa"and delete the build afterwards. However our app is very big and we want to save the build time.Furthermore our actual setup is more complex than the example provided above. For example the translations for the same locale e.g. my-app.com/de/en-US and my-app.com/us/en-US can be different. It would be useful for angular.json to provide some sort of nesting of the locales.