-
Notifications
You must be signed in to change notification settings - Fork 183
Translate into a locale other than the current one #298
Comments
Can you link to the relevant Ruby? |
This is the part of the Strangely the method's documentation does not mention this behavior, but the docs for the |
This seems like a fairly unlikely key for a translation to have. Still, it might be good to introduce a flag. Something like i18nService.set('CROSS_LOCALE_LOOKUP', true); I would suggest three options:
|
Sounds good to me, although I imagine you'd eventually want to remove the warning/option and have |
Exactly.
Sure. The |
jamesarosen/ember-i18n has been deprecated in favor of ember-intl. |
i18n
gem has this:It would be nice to have something similar for
ember-i18n
. For instance, I have a locale picker that displays each language as that language's name for itself (i.e. English, Español, Français). To have this display correctly in all languages, I need to duplicate that list of languages in all of my locales. It would be cleaner if each locale only stored its own name, and I could callt('name', { locale: 'en' })
.(technically that approach would be backward-incompatible with any translations that legitimately had an interpolation named
locale
in them, but that is how thei18n
gem handles it)The text was updated successfully, but these errors were encountered: