transloco
angular-i18n-example
transloco | angular-i18n-example | |
---|---|---|
15 | 1 | |
1,935 | 6 | |
1.0% | - | |
9.0 | 2.7 | |
5 days ago | 5 months ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
transloco
-
Coping with i18n
Some libraries support ways to handle missing translations (e.g., TranslocoMissingHandler from Transloco or MissingTranslationHandler from ngx-translate). So that's a way to find out any missing translations, but that's quite manual because you have to go over every part of the served application.
-
Internationalization best practices for front-end developers
For Svelte.. not sure if there's a best package.
[0] https://github.com/ngneat/transloco
-
Episode 23/23: Hydration in Angular, Angular Community Meetup
Transloco 4.3: ChangeLog
-
Angular 16 Unveiled: Discover the Top 7 Features
We migrated from ngx-translate to Transloco ~2 years ago and it was quite painless. They have nice migration section for ngx-translate
-
Is the official angular/@localize i18n lib really the go to for localization?
You can take a look at Transloco. We use it all our projects.
-
Translate or Localize for a new web project
I find Transloco a lot easier to work with compared to lokalize: https://ngneat.github.io/transloco/
-
is it possible to serve locales based on browser language setting?
I'd recommend https://ngneat.github.io/transloco/
- Ng-News: Issue 22/12
-
How to use Angulars i18n in ongoing development?
There are a lot of tools available, but many depend on your budget. I personally enjoy Transloco.
-
Internationalization file maintenance for lazy loaded modules - Built in module
ngx-translate is in maintenance mode and won't be develop any further (see https://github.com/ngx-translate/core/issues/783). I would highly recommend to use Transloco instead (https://ngneat.github.io/transloco/). It has same functionality as ngx-translate. Last time I checked ngx-translate doesn't actually lazyLoad translations properly but Transloco does.
angular-i18n-example
-
Switch app language (and translate it) on button click
I think this example has what you need: https://github.com/localizely/angular-i18n-example
What are some alternatives?
ngx-translate-messageformat-compiler - Advanced pluralization (and more) for ngx-translate, using standard ICU syntax which is compiled with the help of messageformat.js.
Traduora - Ever® Traduora™ - Open Translation Management Platform
react-i18next - Internationalization for react done right. Using the i18next i18n ecosystem.
React Intl - The monorepo home to all of the FormatJS related libraries, most notably react-intl.
i18next - i18next: learn once - translate everywhere
jsLingui - 🌍 📖 A readable, automated, and optimized (3 kb) internationalization for JavaScript
core - The internationalization (i18n) library for Angular
angular-i18next - angular v10+ integration with i18next v19.4+
Angular - Deliver web apps with confidence 🚀
i18n - A set of functions to support multiple languages/cultures in a browser or Node.js.
components - Component infrastructure and Material Design components for Angular
XTranslate - Easy translate text on web pages (chrome extension)