Matt Mozer
1 min readMay 27, 2020

This is an interesting, yet complicated approach to handling translations. Personally, I'd prefer to move to calling an API for translations. For one, i don't want to manage translations in my app, that requires code, CI/CD, etc., when things change and secondly, translations are in most cases a different set of concerns than the app I am building.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Matt Mozer
Matt Mozer

Responses (1)

Write a response

This lib as well as ngx-translate solves the problem of hot swap, which angular-i18n doesn’t and your suggestion neither.

--