-
Notifications
You must be signed in to change notification settings - Fork 667
Update i18n scripts #7030
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
Update i18n scripts #7030
Conversation
|
/assign |
8009367 to
fcd277f
Compare
fcd277f to
a1292d4
Compare
38ff210 to
bdb7aed
Compare
bdb7aed to
0145470
Compare
|
Rebased package.json. |
3b7eefb to
85f655e
Compare
|
This is ready for review again @spadgett. It blocks the Korean work for next sprint and would make importing files from Terry easier. |
Updated script to export pos rather than pot files based on the latest info from our translation contact. I fixed a bug where we couldn't use underscores in keys and also appended the language to the header fields so that information is included. Will add additional fields as necessary. The script now also adds in existing translations and now saves all pos to the same location. I also added a bash script I used to export all pos across the application and updated our po import script to be more flexible.
85f655e to
edbfd40
Compare
spadgett
left a comment
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.
/lgtm
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rebeccaalpert, spadgett The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Added moment.js locale for Korean, removed last language reference in script, updated bash script from openshift#7030 to export Korean po files, and added timestamp in ko folder in public/locales. Fixes https://issues.redhat.com/browse/CONSOLE-2461
I updated the i18n-to-pot script to export pos rather than pot files based on the latest info from translation. I also added a bash script so we can pull out all pos programmatically.
i18n to PO script additions:
_package=${package}at the end so I can sort them programmaticallyPO to i18n script additions:
_package=${package}so it can sort them into the correct locale folders