VS Code extension to help extract literals for ngx-translate.
Extract selected text to i18n json file and choose translation for all languages/locales in project.
The extension itself does not have any requirements. But it is intendent to help you extract literals for ngx-translate.
This extension contributes the following settings:
ngx-translate-extract-literal.translationsDir - Root directory of i18n json files.
ngx-translate-extract-literal.locales - Array of all locales that must be supported.
ngx-translate-extract-literal.defaultLocale - Default locale to work with.
ngx-translate-extract-literal.setDefaultLanguageTranslationOnly - If this is 'true' then only set empty translation for every non-default language. Otherwise, you will be prompted to enter translation for every language.
Calling out known issues can help limit users opening duplicate issues against your extension.
Fix default value from v0.0.5
Fix README.md formatting
Update default value to be in the format "[locale] selectedText" instead of empty string
Add more loging and fix issue with not asking about translations.
Add keybinding Cmd+Shift+K.
If no text is selected, give option to enter translation for default locale.
Update placeholders for input fields.
Update extention's name to "Extract literals".
Initial release. Minimum functionality and configuration. Not much customization.