# Change language for addon

**URL:** <https://discuss.emberjs.com/t/change-language-for-addon/13215>\
**Category:** Learning Team\
**Created:** [July 2, 2017, 11:36am UTC](https://discuss.emberjs.com/t/change-language-for-addon/13215 "2017-07-02T11:36:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![broerse](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/broerse/32/9497_2.png) [@broerse](https://discuss.emberjs.com/u/broerse)\
**Post date:** [July 2, 2017, 11:36am UTC](https://discuss.emberjs.com/t/change-language-for-addon/13215/1 "2017-07-02T11:36:11Z")

</div>

I like to be able to switch the language specific settings in `lang` and `_formattingOpt` each time the user selects a different language for [https://github.com/martinic/ember-cli-markdown-editor/blob/master/addon/components/markdown-editor.js](https://github.com/martinic/ember-cli-markdown-editor/blob/master/addon/components/markdown-editor.js)

Is there a best practice for this and is there an addon that is already doing something similar ?

Edit: Found the way I think [here](https://discuss.emberjs.com/t/addon-localization/7082/5)
