You have to modify total 4 files:
index.html,meow.js,template.js(you will create a new file with a different name)contributors.json
Important
sample/template.js is the main translation file.
- Open it
- Copy the text
- Go to
/languagesdirectory, read theREADME.mdfile for instructions - Create a new file there, paste the copied text in it
- Translate & save
Caution
Before you begin translating:
- On the second line, replace
$$in:with the language key you chose. For example, if your language key iswindow.i18nDict.$$ = {
hi, it should become:Do not include thewindow.i18nDict.hi = {
.jsextension keep only the language key.
Important
2. Only translate the text inside the quotation marks on the right-hand side. Do not modify the keys, punctuation, formatting, or any other part of the file, as doing so will break the translation.
Example:
"Command failed": "#",becomes:
"Command failed": "आदेश विफल",Caution
- Prioritize natural, context-aware translations over literal word-for-word translations.
- Your goal is to make the interface feel intuitive to native speakers, so choose wording that users in your region or country will easily understand.