You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide a migration document with thorough instructions explaining upgrade path for breaking changes.
Completed
Move format message into its own formatter
Move the format computed prop out of service (mostly complete, format-message is last one)
Remove defaultLocale. Instead, declared in env configuration (the same config evaluated at build time)
leverage instance-initializer for injecting instead of initializer
Tests failing due to new addition of registry in the container. Will require changes to moduleForIntl
YAML translation file support
JSON translations are already supported, I'd like to support both for 2.0
When a translation is merged in from the default locale's translation file, throw a console warning at build time with the key(s) missing (mostly done, needs verifying for edge cases)
BREAKING: Translations now hang off translations (root folder) instead of app/locales
Allows to easier side-loading of translations
Reduces confusion between the three terms: locale, cldr, message/translation
BREAKING: Translation modules no longer contain messages object. All translations hang off the exported parent object by default
Other
Move formatting logic out of service and into formatters. This will thin the service, and the service will simply proxy to the formatters
Remove support for 1.9 (Handlebars)
BREAKING: Intl service is now only injected via Ember.inject.service, no longer automatic as it's seldom needed and Ember now makes it convenient to inject services
ES6-ify
The text was updated successfully, but these errors were encountered:
Incomplete
{{format-message 'path.to.foo.bar'}}
{{format-message (icu '{{population, number, integer} as of {census_date, date, long}}')}}
Completed
format
computed prop out of service (mostly complete, format-message is last one)defaultLocale
. Instead, declared in env configuration (the same config evaluated at build time)registry
in the container. Will require changes tomoduleForIntl
translations
(root folder) instead ofapp/locales
config/environment
messages
object. All translations hang off the exported parent object by defaultOther
Ember.inject.service
, no longer automatic as it's seldom needed and Ember now makes it convenient to inject servicesThe text was updated successfully, but these errors were encountered: