Title: Update i18n doc with loadTranslations and $localize · Issue #37563 · angular/angular · GitHub
Open Graph Title: Update i18n doc with loadTranslations and $localize · Issue #37563 · angular/angular
X Title: Update i18n doc with loadTranslations and $localize · Issue #37563 · angular/angular
Description: 📚 Docs or angular.io bug report Description Issue first reported in #35776. Related issue about length of document: #33461 Developers want the following: Please add docs for loadTranslations and clearTranslations. Use i18n for library in...
Open Graph Description: 📚 Docs or angular.io bug report Description Issue first reported in #35776. Related issue about length of document: #33461 Developers want the following: Please add docs for loadTranslations and cl...
X Description: 📚 Docs or angular.io bug report Description Issue first reported in #35776. Related issue about length of document: #33461 Developers want the following: Please add docs for loadTranslations and cl...
Opengraph URL: https://github.com/angular/angular/issues/37563
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Update i18n doc with loadTranslations and $localize","articleBody":"\u003c!--🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅\r\n\r\nOh hi there! 😄\r\n\r\nTo expedite issue processing please search open and closed issues before submitting a new one.\r\nExisting issues often contain information about workarounds, resolution, or progress updates.\r\n\r\n🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅-->\r\n\r\n# 📚 Docs or angular.io bug report\r\n\r\n### Description\r\n\r\n\u003c!-- ✍️edit:--> \r\nIssue first reported in https://github.com/angular/angular/issues/35776.\r\nRelated issue about length of document: https://github.com/angular/angular/issues/33461\r\n\r\nDevelopers want the following:\r\n\r\nPlease add docs for `loadTranslations` and `clearTranslations`.\r\nUse i18n for library in ng-packagr.\r\n\r\n## 🔬 Minimal Reproduction\r\n\r\n### What's the affected URL?**\r\n\u003c!-- ✍️edit:--> https://angular.io/guide/i18n#internationalization-i18n\r\n\r\n### Reproduction Steps**\r\n\u003c!-- If applicable please list the steps to take to reproduce the issue -->\r\n\u003c!-- ✍️edit:-->\r\n\r\n### Expected vs Actual Behavior**\r\n\u003c!-- If applicable please describe the difference between the expected and actual behavior after following the repro steps. -->\r\n\u003c!-- ✍️edit:-->\r\nSome of this content requires a description of `$localize`, which is not a public API yet.\r\n\r\nDoc team wants to separate the i18n doc into 3 separate docs:\r\n\r\nTask: Translating templates for different locales\r\n- Format data based on locale using pipes\r\n- Prepare templates for translations\r\n- Extract and work with translation files\r\n- Mark plurals and alternates for translation\r\n- Translate plurals and alternate expressions\r\n- See [comment in PR](https://github.com/angular/angular/pull/36924/files#r426140059) about ICU expressions\r\n\r\nTask: Localizing your app\r\n- Set up localization\r\n- Merge translations with the app\r\n- Inline at compile-time\r\n- Runtime ?\r\n- Merge translated libraries used in the app\r\n- Deploy app for multiple locales\r\n\r\nTutorial: Using $localize in your app\r\n- Step-by-step tutorial\r\n\r\nOther docs that need updating:\r\n- [Creating libraries](https://angular.io/guide/creating-libraries): Build libraries with translations\r\n\r\nFor details, see the [i18n Documentation Plan](https://docs.google.com/document/d/1aV2TKsIqry7JnNiHEfhmheu5rNAbNl1IRYVhYErc7Ks/edit?usp=sharing).\r\n\r\n## 📷Screenshot\r\n\u003c!-- Often a screenshot can help to capture the issue better than a long description. -->\r\n\u003c!-- ✍️upload a screenshot:-->\r\n\r\n\r\n## 🔥 Exception or Error\r\n\u003cpre>\u003ccode>\r\n\u003c!-- If the issue is accompanied by an exception or an error, please share it below: -->\r\n\u003c!-- ✍️-->\r\n\r\n\u003c/code>\u003c/pre>\r\n\r\n\r\n## 🌍 Your Environment\r\n\r\n### Browser info\r\n\u003c!-- ✍️Is this a browser specific issue? If so, please specify the device, browser, and version. -->\r\n\r\n### Anything else relevant?\r\n\u003c!-- ✍️Please provide additional info if necessary. -->\r\n","author":{"url":"https://github.com/rockument69","@type":"Person","name":"rockument69"},"datePublished":"2020-06-12T20:15:35Z","url":"https://github.com/angular/angular/issues/37563"}
| 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:1a4da09d-9c59-3835-4f96-9ecfe4482dde |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8C96:296654:12A94D7:18F0E77:6B0123A3 |
| html-safe-nonce | 9a08b726dd7cd38f94176666cadeeb66f37a170818e438b4ae4c19be27594be1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Qzk2OjI5NjY1NDoxMkE5NEQ3OjE4RjBFNzc6NkIwMTIzQTMiLCJ2aXNpdG9yX2lkIjoiNDU5OTQ4NTc2MTg5MTQxMDg1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1133e0653070e6392b55120a5dd14ade1dc68ed21e3b1bf860a015caf1471539 |
| hovercard-subject-tag | issue:637981658 |
| 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/37563/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a99b78b1f4c8d593ae11fbea82d0a1ae0392284efe8c96dac6d749dd52689fb4/angular/angular/issues/37563 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a99b78b1f4c8d593ae11fbea82d0a1ae0392284efe8c96dac6d749dd52689fb4/angular/angular/issues/37563 |
| og:image:alt | 📚 Docs or angular.io bug report Description Issue first reported in #35776. Related issue about length of document: #33461 Developers want the following: Please add docs for loadTranslations and cl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rockument69 |
| 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 |
Links:
Viewport: width=device-width