JSON
NeoIQ Localize supports JSON files as a source format with the common requirements for pluralization and interpolation. This format is used in many frameworks like React, Vue, Ruby on Rails, and more.
Setting Up
First, make sure you've got a neoiq-localize.json config file in your project root. Here's an example:
Translating
With your config set, run:
When you run this command, NeoIQ Localize will:
- Load your source JSON file (e.g., locales/en.json)
- Detect any new or modified translation strings
- Generate translations for your target languages
- Create or update the target language JSON files (e.g., locales/sv.json, locales/de.json, locales/fr.json)
How is this guide?
Edit on GitHub
Last updated on