tolik518 / tolik518/factorion-bot
Translations
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Rust
- Stars
- 51
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
- Create a
<language>.jsonfile in factorion-lib/src - Read Locales.md
- Add language-specific function
get_<language>in locale.rs and add it toget_all() - Alternatively to 3. you can also just add the content of your
<language>.jsontranslation 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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