Skip to content

Latest commit

 

History

History

l10n

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

INCS2Bot - Localization system

If you want to contribute - make sure that the translation into your preferred language is not complete yet by looking at the Progress section.

Then check the Contributing section to know how to get started.


Progress

Code Language Progress Summary Contributors
en English ██████████ 100% built in
ru Russian ██████████ 100% built in
ar Arabic ▒▒▒▒▒▒▒▒▒▒ 0% contributors needed
be Belarusian ██████████ 100% fully done HiddenDeath
da Danish ▒▒▒▒▒▒▒▒▒▒ 0% contributors needed
de German ▒▒▒▒▒▒▒▒▒▒ 0% contributors needed
es Spanish ▒▒▒▒▒▒▒▒▒▒ 0% contributors needed
fa Persian ████████▒▒ 80% missing: bot_feedback_text; need to confirm the correctness @A460N
fi Finnish ▒▒▒▒▒▒▒▒▒▒ 0% contributors needed
fr French ▒▒▒▒▒▒▒▒▒▒ 0% contributors needed
hi Hindi ▒▒▒▒▒▒▒▒▒▒ 0% contributors needed
it Italian ████████▒▒ 80% missing: bot_feedback_text; need to confirm the correctness MrJiavo
ja Japanese ▒▒▒▒▒▒▒▒▒▒ 0% contributors needed
kk Kazakh ▒▒▒▒▒▒▒▒▒▒ 0% contributors needed
no Norwegian ▒▒▒▒▒▒▒▒▒▒ 0% contributors needed
pl Polish ▒▒▒▒▒▒▒▒▒▒ 0% contributors needed
pt Portuguese ▒▒▒▒▒▒▒▒▒▒ 0% contributors needed
sv Swedish ▒▒▒▒▒▒▒▒▒▒ 0% contributors needed
tr Turkish ███████▒▒▒ 70% some parts are untranslated; need to confirm the correctness @ITMiroN
uk Ukrainian ██████████ 100% fully done akimerslys, Agent47Dev
uz Uzbek ████████▒▒ 80% missing: settings, user game stats; need to confirm the correctness @d1az1337
zh Chinese ▒▒▒▒▒▒▒▒▒▒ 0% contributors needed

Contributing

Prerequirements

Steps

  1. Fork this repository.
    forking repository
  2. Open Git Bash and clone the forked repository:
    git clone {your fork link}
    Then go into the project directory with:
    cd INCS2bot
    cloning repository
  3. Create a new repository branch and checkout to it with:
    git checkout -b {branch name}
    creating branch
  4. Open the repository folder. In l10n/data/ folder, find prefered lang file.
    • If there is no such file, you can create it by yourself.
      Just copy en.json and rename it with ISO 639-1 code of prefered language (e.g. de.json).
  5. Open the file and start translating it based on string keys and original text.
    • We highly recommend checking the bot functionality to have more context.
  6. Remember to add some tags in your language to tags.json.
  7. In Git, add new files with:
    git add *
    Then commit the changes:
    git commit -a -m "{Useful commit message here}"
    And push them to your fork.
    git push origin {branch name}
    commiting changes
  8. Submit a pull request to the original repository and wait for tests results and our feedback.
    submiting pull