Languine supports Markdown file localization, perfect for documentation, blog posts, and content-heavy sites. This format preserves Markdown syntax while translating content, including front matter support.
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": { "md": { "include": ["content/[locale]/**/*.md"] } } }
With your config set, run:
npx languine@latest translate
When you run this command, Languine will: