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
- Download release
- Make
.env
file - Add
OPENAI_API_KEY=your_api_key
to.env
- Optional: Add
OPENAI_MODEL=some_openai_model
to.env
(default: gpt-4o-mini) - Add
some.snbt
orquests
directory contents toquests
directory - Add
some.jar
files tomods
directory - Double click
start.bat
file - 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)