Title: --localize produces files with same hash values, even though file contents are different · Issue #16526 · angular/angular-cli · GitHub
Open Graph Title: --localize produces files with same hash values, even though file contents are different · Issue #16526 · angular/angular-cli
X Title: --localize produces files with same hash values, even though file contents are different · Issue #16526 · angular/angular-cli
Description: 🐞 Bug report Angular CLI: 9.0.0-rc.7, Angular: 9.0.0-rc.7 Command (mark with an x) new build serve test e2e generate add update lint xi18n run config help version doc Is this a regression? Not sure, I haven't used localization with prior...
Open Graph Description: 🐞 Bug report Angular CLI: 9.0.0-rc.7, Angular: 9.0.0-rc.7 Command (mark with an x) new build serve test e2e generate add update lint xi18n run config help version doc Is this a regression? Not sure...
X Description: 🐞 Bug report Angular CLI: 9.0.0-rc.7, Angular: 9.0.0-rc.7 Command (mark with an x) new build serve test e2e generate add update lint xi18n run config help version doc Is this a regression? Not sure...
Opengraph URL: https://github.com/angular/angular-cli/issues/16526
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"--localize produces files with same hash values, even though file contents are different","articleBody":"# 🐞 Bug report\r\nAngular CLI: 9.0.0-rc.7, Angular: 9.0.0-rc.7\r\n\r\n### Command (mark with an `x`)\r\n- [ ] new\r\n- [x] build\r\n- [ ] serve\r\n- [ ] test\r\n- [ ] e2e\r\n- [ ] generate\r\n- [ ] add\r\n- [ ] update\r\n- [ ] lint\r\n- [ ] xi18n\r\n- [ ] run\r\n- [ ] config\r\n- [ ] help\r\n- [ ] version\r\n- [ ] doc\r\n\r\n\r\n### Is this a regression?\r\nNot sure, I haven't used localization with prior versions.\r\n\r\n### Description\r\nIf I have two locales configured, build process will generate two sets of files, one per locale, but the file names (including hash parts) are identical for corresponding files in both sets, even though contents of the files are different due to translations.\r\n\r\n## 🔬 Minimal Reproduction\r\nHave a project with two locales set up, and translated messages in place. Then build it using --localize option and compare file names in resulting localized builds.\r\n\r\n## 🔥 Exception or Error\r\nNo error.\r\n\r\n## 🌍 Your Environment\r\n\u003cpre>\u003ccode>\r\nAngular CLI: 9.0.0-rc.7\r\nNode: 12.14.0\r\nOS: linux x64\r\n\r\nAngular: 9.0.0-rc.7\r\n... animations, cli, common, compiler, compiler-cli, core, forms\r\n... language-service, localize, platform-browser\r\n... platform-browser-dynamic, router\r\nIvy Workspace: Yes\r\n\r\nPackage Version\r\n------------------------------------------------------------\r\n@angular-devkit/architect 0.900.0-rc.7\r\n@angular-devkit/build-angular 0.900.0-rc.7\r\n@angular-devkit/build-optimizer 0.900.0-rc.7\r\n@angular-devkit/build-webpack 0.900.0-rc.7\r\n@angular-devkit/core 9.0.0-rc.7\r\n@angular-devkit/schematics 9.0.0-rc.7\r\n@angular/cdk 9.0.0-rc.6\r\n@angular/material 9.0.0-rc.6\r\n@angular/material-moment-adapter 9.0.0-rc.6\r\n@ngtools/webpack 9.0.0-rc.7\r\n@schematics/angular 9.0.0-rc.7\r\n@schematics/update 0.900.0-rc.7\r\nrxjs 6.5.3\r\ntypescript 3.6.4\r\nwebpack 4.41.2\r\n\u003c/code>\u003c/pre>\r\n","author":{"url":"https://github.com/mstawick","@type":"Person","name":"mstawick"},"datePublished":"2020-01-02T16:50:59Z","url":"https://github.com/angular/angular-cli/issues/16526"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ea3a1ff7-0200-cb29-9c6d-a0e056b90efe |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E4FE:785A9:F745FA:139E002:6B010E3C |
| html-safe-nonce | ba01301a5c5a97750a690b7fcfdad9cf4d8789e21120c2d286233a9e9dc2b323 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEZFOjc4NUE5OkY3NDVGQToxMzlFMDAyOjZCMDEwRTNDIiwidmlzaXRvcl9pZCI6IjgxOTA2NjI3MzQ0NjgxNTY5ODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5adec27a1dcdd78415021156dc9349a677899bbb7c3cfad5749aecfc6cb2d81b |
| hovercard-subject-tag | issue:544657702 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/16526/issue_layout |
| twitter:image | https://opengraph.githubassets.com/81e79ff799af5869cf35ad9362114a80bb87fd574631fba10e1c1f3714f45281/angular/angular-cli/issues/16526 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/81e79ff799af5869cf35ad9362114a80bb87fd574631fba10e1c1f3714f45281/angular/angular-cli/issues/16526 |
| og:image:alt | 🐞 Bug report Angular CLI: 9.0.0-rc.7, Angular: 9.0.0-rc.7 Command (mark with an x) new build serve test e2e generate add update lint xi18n run config help version doc Is this a regression? Not sure... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mstawick |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width