Skip to content

Python script to automate translation of Star citizen's global.ini file with DeeplAI API

Notifications You must be signed in to change notification settings

Masaa44/starcitizen_ini_translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Star Citizen INI File Translator

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.

Prerequisites

  • 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.

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/Masaa44/starcitizen_ini_translator.git
    
  2. Navigate to the cloned project directory:

    cd starcitizen_ini_translator
    
  3. Install the necessary dependencies:

    pip install -r requirements.txt
    
  4. Copy the provided config.ini.example file in the same directory and rename the copy to config.ini:

    cp config.ini.example config.ini  # On Windows, use `copy config.ini.example config.ini`
    
  5. Open the config.ini file and replace the default values with your personal configurations, such as your DeepL API key.

Usage

After following the installation steps, you can run the script using the following command:

python main.py

About

Python script to automate translation of Star citizen's global.ini file with DeeplAI API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages