Questions tagged [ember-intl]

5 questions
4
votes
2 answers

Ember : Could not find module `@ember-intl/intl-relativeformat` imported from `ember-intl/services/intl`

I added the module ember-intl in my app since the ember-i18n is deprecated. so yarn works well, updates package.json and yarn.lock (i got rid of the package.lock), but i get this error on the browser's console after a successful ember build: Error:…
Ty Kayn
  • 719
  • 7
  • 24
1
vote
1 answer

Ember-paper and class?

I'm working on a project made with Ember.js I'm using ember-paper addon for buttons and also Ember-intl addon to translate my application (English and French). I have a basic HTML button with this code:
1
vote
2 answers

Asynchronously loading translations with ember-intl

I'm trying to achieve asynchronous fetching of translations. I set up the publicOnly to true as docs say: // config/ember-intl.js module.exports = function() { return { publicOnly: true } }; Skipped the step of setting up the locales key,…
0
votes
0 answers

How do I provide my own message source to react-intl

I have an Ember application with some React components in it. Some of the components expect to be wrapped in an IntlProvider. I'd like to create a subclass/replacement IntlProvider that, instead of looking in an array of messages for a translation,…
MikeS
  • 65
  • 10
0
votes
1 answer

ember-intl for translating html

I'm using ember-intl and would like to translate html (href with link): en-us.json: { "sign-up": "Didn't get it? check your spam folder, or try to ''send a new passcode''", } My controller has an action that is called:…
john remi
  • 45
  • 1
  • 4