tolik518 / tolik518/factorion-bot

Translations

Open
#262 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
51
Forks
8
PR merge metrics
No merged PRs in 30d

Description

  1. Create a <language>.json file in factorion-lib/src
  2. Read Locales.md
  3. Add language-specific function get_<language> in locale.rs and add it to get_all()
  4. Alternatively to 3. you can also just add the content of your <language>.json translation over here in the ticket or message me on reddit via @tolik518

The languages are ordered by speakers world wide:

  • zh - Chinese (Mandarin)
  • es - Spanish
  • en - English
  • ar - Arabic (Modern Standard Arabic)
  • hi - Hindi
  • pt - Portugese
  • bn - Bengali
  • ru -Russian
  • ja - Japanese
  • Yue Chinese (Cantonese) - Not supported by ISO-639-1, used by reddit
  • Wu Chinese (Shanghainese) - Not supported by ISO-639-1
  • tr - Turkish
  • it - Italian
  • fr - French
  • de - German
  • Other...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading factorion-lib/Locales.md and the existing files under factorion-lib/src. Add a language JSON file, define the corresponding get_ function in factorion-lib/src/locale.rs, and register it in get_all(); alternatively, submit the translation content in the issue or by message. Done means the selected language is represented and available through the locale list.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
localization
Issue type
Feature
Difficulty
2/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.