question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[i18n] docs for @angular/localize

See original GitHub issue

πŸ“š Docs or angular.io bug report

Description

It would be great if documentation for @angular/localize is available.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:12
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
klemenoslajcommented, Jan 23, 2020

It would be nice if the documentation would include the usage of translation features within Angular Libraries (generated trough ng generate library command).

Commonly we should be importing @angular/localize/init into the polyfills.ts that’s clear. It becomes interesting in case we develop a library with the usage of $localize:

  • should each library be importing @angular/localize/init as well since otherwise it fails building?
  • should each library import it to test.ts file as well - tests fail to execute if the import is not there?
  • if some library imports @angular/localize/init all its dependents will successfully build. Therefore, if this library removes the import its dependants will start failing.
0reactions
angular-automatic-lock-bot[bot]commented, Mar 31, 2020

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular Internationalization
Internationalization, sometimes referenced as i18n, is the process of designing and preparing your project for use in different locales around the world.
Read more >
The Ultimate Guide to Angular Localization | Phrase
Learn end-to-end Angular localization with the built-in i18n library and explore third-party internationalization alternatives along the wayΒ ...
Read more >
Localizing your app - Angular Hispano
Internationalization (i18n) is the process of designing and preparing your app to be usable in different locales around the world. Localization is theΒ ......
Read more >
How To Use Internationalization (i18n) in Angular | DigitalOcean
Internationalization is the process of supporting multiple languages in your applications. This can be accomplished in an Angular applicationΒ ...
Read more >
Angular i18n: internationalization & localization with examples
i18n is a special attribute that is recognized by the localize package. During the compilation it will be removed, and the tag content...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found