forked from angular/angular.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(i18n): collect and convert locale info from closure
- add i18n/closure directory with closure i18n files and update-closure.sh script to update them - generate.sh script runs node.js scripts that extract localization rules from the closure library, transform them to a more suitable format and dumps them into i18n/locale directory as angular's $locale services - update Rakefile to copy i18n files to build/ and pkg/ dirs - copy i18n stuff during rake build - e2e tests for several locales
- Loading branch information
Showing
22 changed files
with
7,384 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# i18n directory overview: | ||
|
||
- closure/ - closure files we use for ruleset generation | ||
- locale/ - angular's locale ruleset files | ||
- src/ - source files | ||
- spec/ - spec files for stuff in src directory | ||
- generate.sh - runs src scripts on closure dir and stores output in locale dir | ||
- update-closure.sh - downloads the latest version of closure files from public svn repo | ||
|
||
The closure files (maintained by Shanjian Li (shanjian)) change very rarely, so we don't need to | ||
regenerate locale files very often. | ||
|
Oops, something went wrong.