Skip to content

Commit 9680f66

Browse files
authored
Merge pull request #688 from ember-learn/deprecation-ember-string-loc
Introduce `loc` deprecation
2 parents e21fd8e + 4fcf7a4 commit 9680f66

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
id: ember-string.loc
3+
title: Deprecate `@ember/string#loc` and `{{loc}}`
4+
until: '4.0.0'
5+
since: 'Upcoming Features'
6+
---
7+
8+
Ember provides a very basic localization method via the `@ember/string` package `loc` function, and the related `{{loc}}` template helper.
9+
10+
This feature was introduced a long time ago but is insufficient for most use cases.
11+
We suggest you replace it with an addon in the [Internationalization category](https://emberobserver.com/categories/internationalization) of Ember Observer.
12+
13+
A popular addon that supports [ICU (International Components for Unicode)](http://userguide.icu-project.org/formatparse/messages) message syntax and native browser Intl is [ember-intl](https://ember-intl.github.io/ember-intl/).
14+
Check the [documentation](https://ember-intl.github.io/ember-intl/docs) for more detailed information.

0 commit comments

Comments
 (0)