1.0.14 • Published 5 years ago
locins v1.0.14
Locale Insert
If you have a multilingual project, you have probably come across the fact that adding translations for messages is very tiring, because you need to manually open each language file and look for a suitable place to insert a line with the translation. This small utility will help you with this. Simply enter the key for the new translation and it will prompt you to enter a value for each language, then it will automatically insert the records in the most suitable place in the file.
Installing
Install locins util globally via npm
npm install -g locins
How to use
- Open a console in any parent directory that contains i18n folder.
- Type
locins
and press enter. - Locins will analyze available localization files and ask you to enter corresponding values.