Languine supports XLIFF (XML Localization Interchange File Format), an XML-based format designed for exchanging localization data. This format is widely used in professional translation workflows and supports both XLIFF 1.2 and 2.0 versions.
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": { "xliff": { "include": ["locales/[locale].xlf"] } } }
With your config set, run:
npx languine@latest translate
When you run this command, Languine will: