Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/selmansener/vscode-i18n-manager

A vscode extension to manage i18n translation files in angular projects. This project developed in OPLOG by A. Selman Şener.
https://github.com/selmansener/vscode-i18n-manager

angular i18n ngx-translate vscode-extension

Last synced: about 1 month ago
JSON representation

A vscode extension to manage i18n translation files in angular projects. This project developed in OPLOG by A. Selman Şener.

Awesome Lists containing this project

README

        

# VS CODE i18n File Manager

This extension **quickly scaffold i18n files** in Angular Components.

## Features

After installing the i18n File Manager extension just right click on an angular component and then click on **Generate i18n** menu item. This command will generate i18n files in selected component with specified locales in vs code settings.

![Generate i18n files](https://oplogdevops.blob.core.windows.net/vscode-i18n-manager/generate.gif)

To compile i18n files just open vscode command panel and execute `Compile i18n Files` command. (To open vscode command panel use `F1` or `Ctrl + Shift + P`)

![Compile i18n files](https://oplogdevops.blob.core.windows.net/vscode-i18n-manager/compile.gif)

> Warn: This extension only supports angular components at the moment.

## Extension Settings

Customize extension with vscode settings.

* `i18nManager.translationFileSuffix`: string | default: `translation`
* `i18nManager.compilerTargetPath`: string | default: `src/assets/i18n/`
* `i18nManager.locales`: array | default: `['en-GB', 'pl-PL']`

![Customize settings](https://oplogdevops.blob.core.windows.net/vscode-i18n-manager/settings.gif)

## References

Icon made by [Icon Monk](https://www.flaticon.com/authors/icon-monk) from [www.flaticon.com](https://www.flaticon.com/)

## License

See the [LICENSE]() file for license rights and limitations (MIT).