feat(common): generate i18n data file locale_all file for closure #18813
feat(common): generate i18n data file locale_all file for closure #18813ocombe wants to merge 3 commits intoangular:masterfrom
locale_all file for closure #18813Conversation
locale_all file for closure locale_all file for closure
cc4fa07 to
766e77d
Compare
|
You can preview 766e77d at https://pr18813-766e77d.ngbuilds.io/. |
|
You you please rebase the PR (ie remove the first 3 commits). Thanks |
tools/gulp-tasks/cldr/extract.js
Outdated
There was a problem hiding this comment.
If having the code here make it required to download CLDR before generating the index please make it a distinct task so it could be invoked w/o downloading CLDR. Thanks
tools/gulp-tasks/cldr/extract.js
Outdated
There was a problem hiding this comment.
Please change to l only - good enough doe generated code.
766e77d to
4bc22c4
Compare
|
You can preview 4bc22c4 at https://pr18813-4bc22c4.ngbuilds.io/. |
4bc22c4 to
0ed4c27
Compare
|
New behavior: the script is now |
0ed4c27 to
cfb1c87
Compare
|
You can preview cfb1c87 at https://pr18813-cfb1c87.ngbuilds.io/. |
tools/gulp-tasks/cldr/locale-all.js
Outdated
There was a problem hiding this comment.
please change to import {registerLocaleData} from '../src/i18n/locale_data';
There was a problem hiding this comment.
we need to merge #18857 first, because for now locale_data doesn't export registerLocaleData
tools/gulp-tasks/cldr/locale-all.js
Outdated
There was a problem hiding this comment.
I can't, bazel build (ci/circleci: build) fails if I do that...
@alexeagle any idea ?
There was a problem hiding this comment.
just that "goog" is undefined or something like that, which is logical since it's a global variable and it's not in any type definition for angular
cfb1c87 to
8489458
Compare
|
@vicb I did the changes that you requested but it fails the tests / build now because we need to merge #18857 first (locale_data doesn't export registerLocaleData for now), and since I removed the declaration for |
|
You can preview 8489458 at https://pr18813-8489458.ngbuilds.io/. |
8489458 to
f7a6e52
Compare
|
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored by someone other than the pull request submitter. We need to confirm that they're okay with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the |
f7a6e52 to
fe695d9
Compare
fe695d9 to
7ae909f
Compare
|
You can preview 7ae909f at https://pr18813-7ae909f.ngbuilds.io/. |
|
Will be merged via #18907 |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: #18763
What is the new behavior?
New
all.tsfile for closure, extracted usinggulp cldr:locale-all.You can choose the locales to use with the
--localeparameter, e.g.:gulp cldr:locale-all --locales=fr,en,en-GBDoes this PR introduce a breaking change?
Other information
This PR is a branch based on the PR #18284, don't merge before the other one is merged first.