error-pages/l10n
Denis Stepanov eb3d84ee9d
Change Ukrainian translation (#211)
* Update l10n.js

* Update l10n.js
2023-07-24 17:16:52 +04:00
..
.eslintrc.json l10n file formatted, CI updated (#83) 2022-03-28 16:04:23 +05:00
l10n.js Change Ukrainian translation (#211) 2023-07-24 17:16:52 +04:00
readme.md Add 🇨🇳 Chinese Translation (#147) 2022-11-02 01:23:29 +04:00

🔤 Localization

jsDelivr hits

This directory contains file l10n.js for the error pages localization. The working logic is very simple - pages load this script using jsdelivr.com as a CDN for versioned content from the GitHub repository, and it translates tag content with the special HTML attribute data-l10n.

By default, pages markup contains strings in English (en locale). If you want to localize the error pages on the different locales, you should:

  • Find your locale name on this page (column 639-1)
  • Make a fork of this repository
  • Edit file l10n.js in data section (append new localized strings) using locale name from the step 1
  • Make a PR with your changes

👍 Translators