-
Notifications
You must be signed in to change notification settings - Fork 394
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
Issue 331 migrate json language catalogs to po #366
Issue 331 migrate json language catalogs to po #366
Conversation
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.
Thank you @bram-atmire for adding this! I think your PR is a little far behind and needs to be synchronized to the latest version.
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.
There are a few escaping issues in the labels. Also, because the metadata as a map PR isn't merged in this branch yet, it's hard to test, because nothing using metadata will work properly.
src/app/+browse-by/+browse-by-title-page/browse-by-title-page.component.html
Outdated
Show resolved
Hide resolved
94f2d6f
to
e6c1545
Compare
e6c1545
to
f4dae47
Compare
@artlowel @paulo-graca To help with the transition, I made sure that:
Can we identify any remaining blockers for stopping adding new keys to en.json? Would really love to see if we can finalize the transition, so we can start on documentation and onboarding of translators and developers with the new way of working with translations. Dipped into that "Poedit" software for managing the translations, and it really looks like a great tool that will make life a lot easier for translators. |
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.
I found some minor issues, but overall this PR looks great.
.../form/builder/ds-dynamic-form-ui/models/relation-group/dynamic-relation-group.component.html
Outdated
Show resolved
Hide resolved
.../form/builder/ds-dynamic-form-ui/models/relation-group/dynamic-relation-group.component.html
Outdated
Show resolved
Hide resolved
src/app/shared/view-mode-switch/view-mode-switch.component.html
Outdated
Show resolved
Hide resolved
src/app/shared/view-mode-switch/view-mode-switch.component.html
Outdated
Show resolved
Hide resolved
1e57be1
to
dadc4a7
Compare
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.
👍 I have not tested this, but I reviewed the changes and I approve of this direction. Once merged, I'd recommend we start adding details/hints/tips for how to contribute new *.po
files to these early docs: https://wiki.duraspace.org/display/DSPACE/DSpace+7+Translations (thanks for starting this @bram-atmire !)
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.
Again, thank you @bram-atmire for adding this. It was very simple to me to add a new Language and add some translations. It works fine!
@bram-atmire Thanks for fixing my comments. Just a note: The current commit message looks a bit strange. @tdonohue We could check if DSpace would qualify for the free open source tier of Transifex: https://docs.transifex.com/projects/open-source-project This would make it really easy to contribute new translations (there is a nice web editor). |
We still need to find a solution for dynamic built keys like like:
|
…ages" This reverts commit bce380b.
Because the translation loader this PR is built on isn't actively maintained, has no support for server side rendering, and because the main developer behind ngx-translate isn't quite sure how much support he can give the project in the future, we decided in the meeting of 2019-07-25 to close this PR, and keep working with ngx-translate's native format for the time being. To make translating easier for non-developers we'll create a PR to flatten the existing json files. We'll also look in to ways of converting the json files to po or xliff format and back, so those formats can still be used by translators, just not live in the application. |
This PR is currently replaced by #439. More thoughts/opinions welcome there. |
No description provided.