1.1.1 ā¢ Published 3 years ago
ts-translations-generator v1.1.1
š Translations Generator
Use this CLI to generate typed translations file from JSON file. It generate TypeScript file with React Hook and using react-i18next package to translate strings.
Run this CLI every time you update JSON file with translations to update typed translations.
generate-translations -f <JSON path> -r <Result TS file path>
āØ Use -w flag to instantlly regenerate translations on every change of JSON translations file