OpenRCT2 / OpenRCT2/objects

Create package for python scripts

Open
#120 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
F#
Stars
26
Forks
47
PR merge metrics
No merged PRs in 30d

Description

There are currently 3 python scripts for translation handling in this repository:

  • language_clean_patch.py
  • language_dump.py
  • language_load.py

All of them relate to dumping or loading translations from and to objects, and thus have some common code, such as the supported languages.

Ideally they should be packaged together, so we can extract bits of code to reuse in all of them and also so that their coupling can be evident

Contributor guide

No contributing guide indexed for this repository

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 language_clean_patch.py, language_dump.py, and language_load.py, focusing on their shared translation handling and supported-language definitions. The work is done when the three scripts are packaged together, common code can be reused, and their coupling is explicit.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
localization, tooling
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.