This repository was archived by the owner on Jan 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 558
First round of i18n in acs-engine based on gettext. Subsequent change… #627
Merged
Merged
Changes from 13 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
ecdd9b9
First round of i18n in acs-engine based on gettext. Subsequent change…
JiangtianLi 78be458
Update acs-engine go source to use translation functions. Generate tr…
JiangtianLi 261ffdf
Merge branch 'master' of https://github.com/Azure/acs-engine into jia…
JiangtianLi 1867b0c
Vendor github.com/leonelquinteros/gotext package using glide
JiangtianLi 638031b
Rebase and update translation for update and deploy command
JiangtianLi 201c149
Merge branch 'master' of https://github.com/Azure/acs-engine into jia…
JiangtianLi f9e7193
Move test translation files so that translations directory is used fo…
JiangtianLi 150b711
Use go-bindata to add resource strings to acs-engine binary
JiangtianLi db742c9
Fix reading bindata and unit test
JiangtianLi 1a54a26
Merge branch 'master' of https://github.com/Azure/acs-engine into jia…
JiangtianLi bcbcac0
Merge branch 'master' of https://github.com/Azure/acs-engine into jia…
JiangtianLi f16bb48
Update translation files
JiangtianLi 3847870
Merge branch 'master' of https://github.com/Azure/acs-engine into jia…
JiangtianLi 9ea4527
Merge branch 'master' of https://github.com/Azure/acs-engine into jia…
JiangtianLi 67642cb
More fix/refactor after rebase and add README
JiangtianLi 8337029
Merge branch 'master' of https://github.com/Azure/acs-engine into jia…
JiangtianLi 39fbb34
Update resource files
JiangtianLi 7816133
Add LCG files converted from PO files.
JiangtianLi 91ad8cd
Update translation bindata
JiangtianLi e7dc96a
Merge branch 'master' of https://github.com/Azure/acs-engine into jia…
JiangtianLi 4aa260e
Merge branch 'master' of https://github.com/Azure/acs-engine into jia…
JiangtianLi 68e8ddb
Remove go generated translation bindata
JiangtianLi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Should ACS Engine be getting stuff from private repos?
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 tried not to but I spent some time and didn't find a tool. That package is basically used for extract strings out of source file for translation so it will only run every time we update translation strings. I forked https://github.com/gosexy/gettext to address the parsing we need. I can try to merge into upstream.
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 submitted a PR to that tool: gosexy/gettext#16
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.
Just echoing others and calling out we can't include this change as is, the repo has to be publically accessible.
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.
Looks like https://github.com/JiangtianLi/gettext is public now (might have been from the beginning), so we're OK to use the fork, as long as we've registered it at https://ossmsft.visualstudio.com/_oss.