HTML (HyperText Markup Language) is the standard markup language used for creating web pages and web applications.
Lokalise supports plain HTML documents, allowing users to manage and translate content within these files.
Technical information
Overview
Format name:
HTML
File extensions:
.html, .htm
Common use cases:
Creating and structuring content on the web, including text, images, links, and other multimedia elements.
Technical details:
Structure: HTML files consist of a series of elements and tags that define the structure and content of a web page. Elements are enclosed in angle brackets, with opening and closing tags to define the start and end of each element.
Encoding: UTF-8 (other encodings are supported by UTF-8 is a de-facto standard)
Example:
Here's an example of a typical HTML file:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sample Document</title>
</head>
<body>
<h1>Welcome to Lokalise</h1>
<p>This is a sample HTML document used for translation.</p>
</body>
</html>
In this example, the HTML file includes a basic structure with a document type declaration, head section, and body section containing a heading and a paragraph.
Using with Lokalise
Lokalise supports HTML files, allowing you to manage and translate your web content within the platform.
Supported project types
Please note that HTML files can be uploaded only to Ad hoc documents projects.
Additional reading
Translate HTML code: How to translate HTML into different languages with examples β step-by-step tutorial covering how to translate HTML content.