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
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 |
|
Monolingual base language file |
|
Template for new translations |
|
File format |
HTML file |