mirror of
https://github.com/tarampampam/error-pages.git
synced 2024-08-30 18:22:40 +00:00
e6b011b41b
* Add Indonesian
Add all strings in bahasa indonesia.
* Update README.md
Add Indonesian flag emoji
* Add Indonesian language credit
* Update CHANGELOG.md (add 🇮🇩 language)
* Update l10n/l10n.js
---------
Co-authored-by: Pаramtamtām <7326800+tarampampam@users.noreply.github.com>
1.4 KiB
1.4 KiB
🔤 Localization
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
- 🇫🇷 French by @jvin042
- 🇵🇹 Portuguese by @fabtrompet
- 🇳🇱 Dutch by @SchoNie
- 🇩🇪 German by @mschoeffmann
- 🇪🇸 Spanish by @Runig006
- 🇨🇳 Chinese by @CDN18
- 🇮🇩 Indonesian by @getwisp