test-localization.html 821 B

123456789101112131415161718192021222324
  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. <html>
  5. <head>
  6. <meta charset="UTF-8">
  7. <title>HTML Localization</title>
  8. </head>
  9. <body>
  10. <div data-l10n-id="Not translated">Kept as-is</div>
  11. <ul data-l10n-id="Translated">
  12. <li>Inner html content is replaced,</li>
  13. <li data-l10n-id="text-content">
  14. Elements with data-l10n-id attribute whose parent element is translated
  15. will be replaced by the content of the translation.
  16. </li>
  17. </ul>
  18. <div data-l10n-id="text-content">No</div>
  19. <div data-l10n-id="Translated">
  20. A data-l10n-id value can be used in multiple elements
  21. </div>
  22. </body>
  23. </html