HTML
NeoIQ Localize supports HTML file localization, handling both text content and attributes. This format is ideal for static websites and HTML templates, with support for preserving HTML structure and formatting.
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 HTML files (e.g., pages/en/*.html)
- Detect any new or modified translation strings
- Generate translations for your target languages
- Create or update the target language HTML files (e.g., pages/sv/*.html)
- Preserve HTML structure and formatting
- Handle specified attribute translations
- Maintain comments and special tags
How is this guide?
Edit on GitHub
Last updated on