From 3654a03db5f1a9057cf19e9b7e153f16bf15d941 Mon Sep 17 00:00:00 2001 From: Ricardo Mendes Date: Sat, 17 Oct 2020 01:58:19 +0100 Subject: [PATCH 1/2] add deprecation guide for (at)ember/string#loc --- content/ember/v3/deprecate-ember-string-loc.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 content/ember/v3/deprecate-ember-string-loc.md diff --git a/content/ember/v3/deprecate-ember-string-loc.md b/content/ember/v3/deprecate-ember-string-loc.md new file mode 100644 index 00000000..0a2446a6 --- /dev/null +++ b/content/ember/v3/deprecate-ember-string-loc.md @@ -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. \ No newline at end of file From 4fcf7a42e507ff3762f58ce56b0e8cb5eecd8fcf Mon Sep 17 00:00:00 2001 From: Ricardo Mendes Date: Thu, 22 Oct 2020 20:29:36 +0100 Subject: [PATCH 2/2] Update content/ember/v3/deprecate-ember-string-loc.md --- content/ember/v3/deprecate-ember-string-loc.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/ember/v3/deprecate-ember-string-loc.md b/content/ember/v3/deprecate-ember-string-loc.md index 0a2446a6..3bd1798b 100644 --- a/content/ember/v3/deprecate-ember-string-loc.md +++ b/content/ember/v3/deprecate-ember-string-loc.md @@ -10,5 +10,5 @@ Ember provides a very basic localization method via the `@ember/string` package 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. \ No newline at end of file +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/). +Check the [documentation](https://ember-intl.github.io/ember-intl/docs) for more detailed information.