Skip to content

panreyes/gbstudio_translation_tools

Repository files navigation

GBStudio translation tools v0.0.0.2

Created for translating the GBStudio game "A Cat & His Boy".

Thanks to GBStudio saving the whole project as a JSON file, we can easily extract all the texts and replace to and from a CSV file.

Usage (very alpha!)

  • extract_texts.py - Extracts all the known tags for texts from project.gbsproj and puts them in translation_labels.csv
  • replace_texts_with_labels.py - Replaces in project.gbsproj all the extracted texts from project.gbsproj and saves it to project.gbsproj.out
  • replace_labels_with_translation_en.py - Use this to apply a translation. This is an example for english, but can be easily improved to enable any other language by adding them to the CSV as new columns and referencing the corresponding row (0 are labels, 1 is for english, etc...).

About

GBStudio translation tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages