Awesome Open Source
Awesome Open Source

Rails i18n

Build Status

Rails i18n helper for Visual Studio Code

Features

  • Default supported template languages: haml, erb and slim
    • others can be configured by adding the language identifier to the railsI18n.languageIdentifiers setting
  • Shows translation (in configured default locale) when hovering over i18n keys

alt text

  • Provides autocompletion when typing i18n keys

alt text

  • Supports multiple workspaces
  • Evaluates and parses yaml files configured in I18n.load_path (turned off per default, turn it on by setting railsI18n.loadAllTranslations to true)
  • Provides definition for i18n keys (Command 'Go To Definition' (F12 or +))

alt text

Known Issues

  • RVM not supported

Release Notes

Planned Features

  • [ ] add a setting and feature to show translations of all available locales on hover
  • [ ] go-to-definition creates key in yaml file if it does not already exist
  • [ ] copy dot-separated translation keys into clipboard from yaml file


Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Typescript (284,271
Ruby On Rails (68,339
Translation (13,626
Vscode (10,419
Yaml (10,363
I18n (4,892
Vscode Extension (3,744