-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: i18n with angular localize #1787
Conversation
If the PR #1786 is merged first this one would require an update of localize to "13.0.1" |
@klopfdreh Thank you for the contribution! |
I adjusted the command to extract i18n a bit: |
67c8906
to
4445297
Compare
Force-Push on my Repository? 😨 Anyway feel free I didn't restrict it. 😄 |
Hi @klopfdreh,
|
Great to see! 😃 - if I can help further more just ping me! |
@@ -9,10 +9,15 @@ | |||
"projectType": "application", | |||
"prefix": "app", | |||
"i18n": { | |||
"sourceLocale": "en-US", | |||
"sourceLocale": { | |||
"code": "en", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice to see that you can apply "en" for source locale - I just tried that, but without a JSON object and it failed. Good to see that it works, now. 👍
Close in favor of #1794 (easier maintenance, dynamic translation) |
This PR provides a complete i18n integration for spring-cloud-dataflow-ui. (at least I hope I caught every translation required occurrence 😁 )
I also provide a complete translation into german language with this PR.
Screenshot:
Some important commands:
ng extract-i18n --format=xlf2
- extract all translations into a messages.xlf which should be renamed into messages.en.xlf and moved intosrc/locale/
. All other language files should be compared against this one.ng serve --open -c=de
- runs the ui with a given configuration in this case de (German)I also adjusted some of the script commands.
This PR addresses: #701