Michael Witt
Michael Witt

Reputation: 1712

Can Angular4+ provide localization via HTTP Header Accept_Language?

While reading the Angular i18n guide I was struck by the following line:

You need to build and deploy a separate version of the app for each supported language.

It seems like very few system providers would want this model. I know we don't want it. Is there any suggested way of providing localized data via the HTTP Accept_Language header with one system deployed?

Upvotes: 0

Views: 366

Answers (1)

Juli3n
Juli3n

Reputation: 221

For now there is no possibility to have a runtime localisation, but it should come in angular 5 update. Check out the first feature in this link Runtime i18n (one bundle for all locales with AOT) - [working on it] https://github.com/angular/angular/issues/16477

Upvotes: 1

Related Questions