mirror of
https://github.com/tarampampam/error-pages.git
synced 2024-08-30 18:22:40 +00:00
.. | ||
l10n.js | ||
readme.md |
Localization
This directory contains file l10n.js for the error pages localization. The logic is very simple - pages load this file using jsdelivr.com as a CDN for versioned content from the GitHub repository, and the script from this file translate tags content using 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: