-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split up localization data for lazy loading
This changes the format of the localization data to enable apps to trivially lazy-load translations. It also adds --locales to the build scripts to allow app developers to choose the compiled-in locales. The generated output now goes into dist/ and is not checked into revision control. Finally, it adds "description" and "meaning" fields to the source messages to allow us to more easily integrate with a context-aware human translation service. The "description" field provides application context for the translator, while the "meaning" field provides linguistic disambiguation for words with multiple meanings or parts of speech in the original English. Because the translation service wants to collapse messages with identical text, we had to merge several messages together. To this end, we have removed the prefixes "ARIA_LABEL_" and "LABEL_" from the messages themselves and collapsed what remained. Issue #1688 Change-Id: I24c17e71c73f6663cf123cfdba118c486fa80ecc
- Loading branch information
1 parent
5678bae
commit 00442a9
Showing
45 changed files
with
954 additions
and
1,484 deletions.
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
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.