question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The state of Ember i18n libraries

See original GitHub issue

I’m currently investing which ember i18n library I will use for a new app. I’m trying to make sense of the key differences and advantages of ember-intl, ember-i18n and ember-i18next. Here are couple ideas/questions:

1. What do you feel about the different libraries?

Any opinion about which one works better for what use case?

2. Storing locale files within the component folder directly

As a way to separate code, I use css-modules which let me store the style for a component with the component. I find that it is where is belongs.

I would like to do the same for locales files. It would require to generate the namespacing automatically as well as a way to resolve and concatenate all locale files.

3. Code parser

I wrote i18next-parser a while back to parse code for translation strings. I’m wondering if there is something to extract translation strings automatically.


Thanks in advance for the clarifications.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
jasonmitcommented, Jan 24, 2018

@karellm planning to start component scoped translations in Feb. I need to land some other parts first. https://github.com/ember-intl/ember-intl/projects/1

0reactions
jasonmitcommented, Mar 24, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

5 Ember.js Addons You Should Start Using
A few great addons you should include in your next Ember.js project. ... We also love using open source libraries to help us...
Read more >
ember-i18next
An Ember CLI addon for internationalizing Ember.js applications using the i18next library. The addon provides an Ember service that wraps ...
Read more >
ember-i18n - UNPKG
The CDN for ember-i18n. ... 5, include library files based on the Ember version. ... ()` instead of `view.state` as Ember is deprecating...
Read more >
Ember: how to translate a placeholder using i18n lib?
You could also do it this way, by adding the Ember.I18n.TranslateableAttributes mixin to the views that need to be translation aware, like this:...
Read more >
Using addons - Basic use - Ember CLI Guides
Think of addons as node libraries with superpowers. In addition to the usual functionality of an npm package, addons can also help with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found