Sha256: afb31293b558613b038ed0bff02c568a5c6c62c1cef3c422f69e20bad9127470

Contents?: true

Size: 1.79 KB

Versions: 1

Compression:

Stored size: 1.79 KB

Contents

## ModpackLocalizer

Localizer for Minecraft Modpack.
If you want to translate to other languages than Japanese,  
please add the `language` option during initialization.  
Can always get help with `ModpackLocalizer.help`

#### Example

`ModpackLocalizer::SNBT::Performer.new(language: "English")`  
`ModpackLocalizer::JAR::Performer.new(language: "English")`  
or if no specific configs required  
`ModpackLocalizer.omakase(language: "English")`

## Steps

1. Download [release](https://github.com/milkeclair/modpack_localizer/releases)
2. Make `.env` file
3. Add `OPENAI_API_KEY=your_api_key` to `.env`
4. Optional: Add `OPENAI_MODEL=some_openai_model` to `.env` **(default: gpt-4o-mini)**
5. Add `some.snbt` or `quests` directory contents to `quests` directory
6. Add `some.jar` files to `mods` directory
7. Double click `start.bat` file
8. Check `output` directory

## Options for omakase method

#### language

Which language do you want to translate to?  
**(default: Japanese)**

#### country

Your country name  
**(default: Japan)**

#### locale_code

Which locale code do you want to use?  
If you specified this, you don't need to specify the country.  
**(default: nil)**

#### threadable

Do you want to exec in parallel?  
**(default: false)**

## Initialize options

#### output_logs

Want to output OpenAI usage logs?  
**(default: true)**

#### except_words

Words that you don't want to translate  
**(default: empty array)**

#### language

Which language do you want to translate to?  
**(default: Japanese)**

#### display_help

Want to display help?  
**(default: true)**

## Only for jar performer initialize options

#### country

Your country name  
**(default: Japan)**

#### locale_code

Which locale code do you want to use?  
If you specified this, you don't need to specify the country.  
**(default: nil)**

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
modpack_localizer-0.1.3 README.md