iStefo / ember-select-2

DEPRECATED IN FAVOR OF https://github.com/cibernox/ember-power-select
MIT License
144 stars 119 forks source link

Ember-i18n support #28

Open tommyblue opened 9 years ago

tommyblue commented 9 years ago

After some attempts I found how to use ember-i18n with ember-select-2 to translate placeholders. It could be useful to insert this information in the docs:

Ember.Component.reopen(
  Ember.I18n.TranslateableProperties
);

Then it is possible to use:

{{select-2
  content=myContent
  value=myValue
  placeholderTranslation="inputs.placeholders.myPlaceholder"
}}
iStefo commented 9 years ago

Yes, I would love to have ember-i18n support. However, before mentioning that in the docs/examples, there should be test cases that verify that the support does not break accidentally.

I will have this on my feature list :)

tommyblue commented 9 years ago

great! :+1:

iStefo commented 9 years ago

Since testing this functionality hasn't made it into 1.2, this is an issue again.