|
1 <!-- This Source Code Form is subject to the terms of the Mozilla Public |
|
2 - License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
|
4 |
|
5 <html> |
|
6 <head> |
|
7 <meta charset="UTF-8"> |
|
8 <title>HTML Localization</title> |
|
9 </head> |
|
10 <body> |
|
11 <div data-l10n-id="Not translated">Kept as-is</div> |
|
12 <ul data-l10n-id="Translated"> |
|
13 <li>Inner html content is replaced,</li> |
|
14 <li data-l10n-id="text-content"> |
|
15 Elements with data-l10n-id attribute whose parent element is translated |
|
16 will be replaced by the content of the translation. |
|
17 </li> |
|
18 </ul> |
|
19 <div data-l10n-id="text-content">No</div> |
|
20 <div data-l10n-id="Translated"> |
|
21 A data-l10n-id value can be used in multiple elements |
|
22 </div> |
|
23 </body> |
|
24 </html |