Title: [IVY] i18n not working yet? · Issue #32311 · angular/angular · GitHub
Open Graph Title: [IVY] i18n not working yet? · Issue #32311 · angular/angular
X Title: [IVY] i18n not working yet? · Issue #32311 · angular/angular
Description: I was trying out IVY on our medium sized corporate project - I finally managed to get the site compiled, but noticed none of the i18n translations were injected into the generated code. Is i18n not supposed to work with IVY yet? Just cur...
Open Graph Description: I was trying out IVY on our medium sized corporate project - I finally managed to get the site compiled, but noticed none of the i18n translations were injected into the generated code. Is i18n not...
X Description: I was trying out IVY on our medium sized corporate project - I finally managed to get the site compiled, but noticed none of the i18n translations were injected into the generated code. Is i18n not...
Opengraph URL: https://github.com/angular/angular/issues/32311
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[IVY] i18n not working yet?","articleBody":"I was trying out IVY on our medium sized corporate project - I finally managed to get the site compiled, but noticed none of the i18n translations were injected into the generated code.\r\n\r\nIs i18n not supposed to work with IVY yet? Just curious\r\n\r\nThere are no error messages other than weird stuff like \r\n\r\n```\r\nWARNING in /Users/lrj/project/ivy2/src/app/modules/iticket-business/views/edit-profile/index.ts is part of the TypeScript compilation but it's unused.\r\nAdd only entry points to the 'files' or 'include' properties in your tsconfig.\r\n```\r\n\r\nBut the site seems to be working - just not with the translations inserted.\r\nI make heavy use of paths in tsconfig.json, - is this not supposed to be supported in IVY?\r\n\r\n\r\n\r\n\r\n\r\n### Is this a regression?\r\nDon't know\r\n\r\n\r\n## 🌍 Your Environment\r\n\r\n**Angular Version:**\r\n\u003cpre>\u003ccode>\r\n _ _ ____ _ ___\r\n / \\ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|\r\n / △ \\ | '_ \\ / _` | | | | |/ _` | '__| | | | | | |\r\n / ___ \\| | | | (_| | |_| | | (_| | | | |___| |___ | |\r\n /_/ \\_\\_| |_|\\__, |\\__,_|_|\\__,_|_| \\____|_____|___|\r\n |___/\r\n \r\n\r\nAngular CLI: 9.0.0-next.0\r\nNode: 12.2.0\r\nOS: darwin x64\r\nAngular: 9.0.0-next.3\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... language-service, platform-browser, platform-browser-dynamic\r\n... router, service-worker\r\n\r\nPackage Version\r\n-----------------------------------------------------------\r\n@angular-devkit/architect 0.900.0-next.0\r\n@angular-devkit/build-angular 0.900.0-next.0\r\n@angular-devkit/build-optimizer 0.900.0-next.0\r\n@angular-devkit/build-webpack 0.900.0-next.0\r\n@angular-devkit/core 9.0.0-next.0\r\n@angular-devkit/schematics 9.0.0-next.0\r\n@angular/cdk 8.1.2\r\n@angular/cli 9.0.0-next.0\r\n@angular/material 8.1.2\r\n@angular/pwa 0.900.0-next.0\r\n@ngtools/webpack 9.0.0-next.0\r\n@schematics/angular 9.0.0-next.0\r\n@schematics/update 0.900.0-next.0\r\nrxjs 6.5.2\r\ntypescript 3.5.2\r\n\u003c/code>\u003c/pre>\r\n\r\n**Anything else relevant?**\r\nI'm sorry if this is a dumb question but I just wanted to check if the` i18n=\"@@my-id\"` was supposed to be working with IVY.\r\n\r\nI make heavy use of paths in tsconfig.json, - is this not supposed to be supported in IVY?\r\n\r\nTsconfig:\r\n\u003cpre>\u003ccode>\r\n{\r\n \"compileOnSave\": false,\r\n \"angularCompilerOptions\": {\r\n \"enableIvy\": true\r\n },\r\n \"compilerOptions\": {\r\n \"baseUrl\": \"./src\",\r\n \"importHelpers\": true,\r\n \"outDir\": \"./dist/out-tsc\",\r\n \"sourceMap\": true,\r\n \"declaration\": false,\r\n //\"module\": \"es2015\",\r\n \"module\": \"esnext\",\r\n \"moduleResolution\": \"node\",\r\n \"noImplicitAny\": false,\r\n \"emitDecoratorMetadata\": true,\r\n \"experimentalDecorators\": true,\r\n \"target\": \"es5\",\r\n \"skipLibCheck\": true,\r\n \"typeRoots\": [\r\n \"node_modules/@types\"\r\n ],\r\n \"lib\": [\r\n \"es2018\",\r\n \"dom\"\r\n ],\r\n \"paths\": {\r\n \"@store/*\": [\"app/store/*\", \"app/store\"],\r\n \"@store\": [\"app/store/*\", \"app/store\"],\r\n \"@modules/*\": [\"app/modules/*\", \"app/modules\"],\r\n \"@modules\": [\"app/modules/*\", \"app/modules\"],\r\n \"@main/*\": [\"app/main/*\", \"app/main\"],\r\n \"@models/*\": [\"app/models/*\", \"app/models\"],\r\n \"@models\": [\"app/models/*\", \"app/models\"],\r\n \"@main\": [\"app/main/*\", \"app/main\"],\r\n \"@environment\": [\"environments/environment\"],\r\n \"@lib/*\": [\"app/lib/*\", \"app/lib\"],\r\n \"@lib\": [\"app/lib/*\", \"app/lib\"],\r\n \"@iticket-business/*\": [ \"app/modules/iticket-business/*\", \"app/modules/iticket-business\"]\r\n }\r\n }\r\n}\r\n\u003c/code>\u003c/pre>\r\n\r\n@ocombe ","author":{"url":"https://github.com/spock123","@type":"Person","name":"spock123"},"datePublished":"2019-08-24T14:14:51Z","url":"https://github.com/angular/angular/issues/32311"}
| 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:ee334b5d-e5fb-6b3f-9a98-215baf3f88ee |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D0A2:2E3FEE:C50408:FACBE3:6B00FD84 |
| html-safe-nonce | dd609402f2b7046ed822c4d34aa5cb463aed11c7c75caec68f4d1000f74d122b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMEEyOjJFM0ZFRTpDNTA0MDg6RkFDQkUzOjZCMDBGRDg0IiwidmlzaXRvcl9pZCI6IjI3MzUxMzIxMzkwNjk3MDE1MDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1376bbdeee5a87b69478e1a6851e31e703f911d5871f5478debdd5b6d7ec8e4a |
| hovercard-subject-tag | issue:484915866 |
| 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/32311/issue_layout |
| twitter:image | https://opengraph.githubassets.com/64b1a62826a6ce722d7e6d87f1bfe2da1f15eb4ee4cab91abf25938ca631abd5/angular/angular/issues/32311 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/64b1a62826a6ce722d7e6d87f1bfe2da1f15eb4ee4cab91abf25938ca631abd5/angular/angular/issues/32311 |
| og:image:alt | I was trying out IVY on our medium sized corporate project - I finally managed to get the site compiled, but noticed none of the i18n translations were injected into the generated code. Is i18n not... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | spock123 |
| hostname | github.com |
| expected-hostname | github.com |
| None | e208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| 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 | 7dafd017fb7809a839c443dba08622af38e63c09 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width