Title: i18n translation duplicated · Issue #15573 · angular/angular · GitHub
Open Graph Title: i18n translation duplicated · Issue #15573 · angular/angular
X Title: i18n translation duplicated · Issue #15573 · angular/angular
Description: I'm submitting a ... (check one with "x") [x] bug report => search github for a similar issue or PR before submitting Current behavior Actually I have
Open Graph Description: I'm submitting a ... (check one with "x") [x] bug report => search github for a similar issue or PR before submitting Current behavior Actually I have
X Description: I'm submitting a ... (check one with "x") [x] bug report => search github for a similar issue or PR before submitting Current behavior Actually I have <span class="slds-for...
Opengraph URL: https://github.com/angular/angular/issues/15573
X: @github
Domain: github.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"i18n translation duplicated","articleBody":"**I'm submitting a ...** (check one with \"x\")\r\n```\r\n[x] bug report => search github for a similar issue or PR before submitting\r\n```\r\n\r\n**Current behavior**\r\nActually I have \r\n```\r\n\u003cspan class=\"slds-form-element__help\" *ngIf=\"form.get('sapNumber').errors?.maxlength\" i18n>Maximum de {{max8}} caractères autorisé.\u003c/span>\r\n\u003cspan class=\"slds-form-element__help\" *ngIf=\"form.get('interfaceAccountNumber').errors?.maxlength\" i18n>Maximum de {{max15}} caractères autorisé.\u003c/span>\r\n\u003cspan class=\"slds-form-element__help\" *ngIf=\"form.get('formDesignation').errors?.maxlength\" i18n>Maximum de {{max20}} caractères autorisé.\u003c/span>\r\n\u003cspan class=\"slds-form-element__help\" *ngIf=\"form.get('shortDesignation').errors?.maxlength\" i18n>Maximum de {{max35}} caractères autorisé.\u003c/span>\r\n```\r\nand when I extract with `\"./node_modules/.bin/ng-xi18n\" --i18nFormat=xmb` I get 4 times same strings to translate with different ID in my `messages.xmb` file. All others strings aren't duplicated but this one is, why ?\r\n\r\n```\r\n\u003cmsg id=\"4591664065864994257\">Maximum de \u003cph name=\"INTERPOLATION\">\u003cex>INTERPOLATION\u003c/ex>\u003c/ph> caractères autorisé.\u003c/msg>\r\n\u003cmsg id=\"3596670943450897156\">Maximum de \u003cph name=\"INTERPOLATION\">\u003cex>INTERPOLATION\u003c/ex>\u003c/ph> caractères autorisé.\u003c/msg>\r\n\u003cmsg id=\"27126914192147611\">Maximum de \u003cph name=\"INTERPOLATION\">\u003cex>INTERPOLATION\u003c/ex>\u003c/ph> caractères autorisé.\u003c/msg>\r\n\u003cmsg id=\"8495459888526831686\">Maximum de \u003cph name=\"INTERPOLATION\">\u003cex>INTERPOLATION\u003c/ex>\u003c/ph> caractères autorisé.\u003c/msg>\r\n```\r\nN.B. I tried with `{{15}}` interpolation, I tried with `max15 : string = \"15\"` I tried with `max15 : number = 15` and same behavior !\r\n\r\n**Expected behavior**\r\nExtract only one time this i18n string.\r\n\r\n**Please tell us about your environment:** webstorm 2017.1 \r\n\r\n* **Angular version:** 4.0.0\r\n\r\n* **Language:** [ts 2.2.1]\r\n\r\n* **Node (for AoT issues):** `node --version` = v7.7.2 ","author":{"url":"https://github.com/elvisbegovic","@type":"Person","name":"elvisbegovic"},"datePublished":"2017-03-29T07:45:14Z","url":"https://github.com/angular/angular/issues/15573"}
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:f5357b4c-ceec-e435-3afa-b7c62941f839 current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id E3A6:F7C4C:1CB60C9:2664217:6B016DFB html-safe-nonce 271d0b5a596238cf0802b062c580b6ac3a0d5411869e40e1e16031fe0775ed1d visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0E2OkY3QzRDOjFDQjYwQzk6MjY2NDIxNzo2QjAxNkRGQiIsInZpc2l0b3JfaWQiOiIyMzc5NDUwODc3Nzg3MzM2MTg3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= visitor-hmac 548381cd5ef038e2136002f5300a24572dfbe7cdd50c65888cd38b4495fa5423 hovercard-subject-tag issue:217791085 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/15573/issue_layout twitter:image https://opengraph.githubassets.com/a04fc8920567ccac88f5cb60ace9aec37dae3fcb5355f3c6b158fcd4bc536eed/angular/angular/issues/15573 twitter:card summary_large_image og:image https://opengraph.githubassets.com/a04fc8920567ccac88f5cb60ace9aec37dae3fcb5355f3c6b158fcd4bc536eed/angular/angular/issues/15573 og:image:alt I'm submitting a ... (check one with "x") [x] bug report => search github for a similar issue or PR before submitting Current behavior Actually I have og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username elvisbegovic hostname github.com expected-hostname github.com None cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c 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 8c77c9e8439031ad54c75a250694842892f693e1 ui-target full theme-color #1e2327 color-scheme light dark react-app-name issues
URLs of crawlers that visited me.