HTML files#

New in version 4.1.

The translatable content is extracted from the HTML files and offered for the translation.

Note

Unlike most other formats, the changes in the translation files will not be imported to Weblate because it can not be done reliably. The source of truth for the translations is Weblate not the translated file.

See also

HTML

Example file:

<html>
<body>
<p>Ahoj světe!</p>

<p>Orangutan has five bananas.</p>

<p>Try Weblate at <a href="https://demo.weblate.org/">weblate.org</a>!</p>

<p>Thank you for using Weblate.</p>
</body>

Weblate configuration#

Typical Weblate Component configuration

File mask

path/*.html

Monolingual base language file

path/en.html

Template for new translations

path/en.html

File format

HTML file