Languine supports Java Properties files, the standard localization format for Java applications. This format handles Unicode escaping and supports both key-value pairs and comments.
First, make sure you've got a languine.json config file in your project root. Here's an example:
{ "locale": { "source": "en", "targets": ["sv", "de", "fr"] }, "files": { "properties": { "include": ["src/main/resources/messages_[locale].properties"] } } }
With your config set, run:
npx languine@latest translate
When you run this command, Languine will: