Ficheiro HTML

Added in version 4.1.

O conteúdo traduzível é extraído dos ficheiros HTML e oferecido para a tradução.

Nota

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.

Veja também

HTML

Exemplo de ficheiro:

<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>

Configuração do Weblate

Configuração de componente típica do Weblate

Máscara de ficheiros

path/*.html

Ficheiro de idioma base monolingue

path/en.html

Modelo para novas traduções

path/en.html

Formato de ficheiro

HTML file