Tired of manually adding translations? Me too... Ember Intl Tools is an extension that enhances your development workflow when working with Ember.js internationalization (i18n) in Visual Studio Code.
- Adding Translations: Quickly add translations thoughout locales and auto insert handlebars markup.
- Inserting Handlebar Translations: Streamline the process of inserting handlebar translations.
- Looking Up Translations: Efficiently find translations, both with commands and inline in handlebars.
- Copying Translations: Conveniently copy translations, also from inline handlebars.
Full list of features and how to use them will be added soon.
It is recommended to run the command Intl Tools: Quick Configuration
for first time setup.
You can also configure the extension by pressing Cmd + , or Ctrl + , and search for Ember-intl-tools
.
- When enabled, the extension scans for all available locales in the '/translations' directory and applies the specified translation to each of them. Please note that it does not perform the translation for you.
- Set the default locale file to which translations will be added. The default is "no-nb.yml."
Please be aware of the following limitation:
- The extension does not support lookups on translations within constructs like
{{t "qrscanner.error" error=this.error}}
.
- Pull this repository.
- Install the required dependencies by running
npm install
. - Start the application by pressing F5.
The second VSCode window now runs this extension.