Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce loc deprecation #688

Merged
merged 2 commits into from
Oct 23, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions content/ember/v3/deprecate-ember-string-loc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
id: ember-string.loc
title: Deprecate `@ember/string#loc` and `{{loc}}`
until: '4.0.0'
since: 'Upcoming Features'
---

Ember provides a very basic localization method via the `@ember/string` package `loc` function, and the related `{{loc}}` template helper.

This feature was introduced a long time ago but is insufficient for most use cases.
We suggest you replace it with an addon in the [Internationalization category](https://emberobserver.com/categories/internationalization) of Ember Observer.

A popular addon that supports ICU message syntax and native browser Intl is [ember-intl](https://ember-intl.github.io/ember-intl/).
Check the [documentation](https://ember-intl.github.io/ember-intl/docs) for more detailed information.