This script is specifically designed for fans and players of Star Citizen! It utilizes the DeepL API to automatically translate the global.ini
file used in Star Citizen, aiding in the localization of the game's extensive configurations and content.
Note: The free version of the DeepL API supports only 500,000 words per month, which may not be sufficient to translate the entire global.ini
file in one go. Users with higher translation needs might need to consider subscribing to a paid DeepL plan.
- Python 3.6 or higher must be installed on your local machine.
- A DeepL account with an API key. You can obtain an API key by signing up on DeepL's website.
-
Clone the repository to your local machine:
git clone https://github.com/Masaa44/starcitizen_ini_translator.git
-
Navigate to the cloned project directory:
cd starcitizen_ini_translator
-
Install the necessary dependencies:
pip install -r requirements.txt
-
Copy the provided
config.ini.example
file in the same directory and rename the copy toconfig.ini
:cp config.ini.example config.ini # On Windows, use `copy config.ini.example config.ini`
-
Open the
config.ini
file and replace the default values with your personal configurations, such as your DeepL API key.
After following the installation steps, you can run the script using the following command:
python main.py