Skip to content

featjinsoul/diva_lang_translation_tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

lang PV_DB Translation Generation Tool

Requirements

  1. Python 3.8+
  2. PV_DB with lyric_en and lyric_new fields. Easiest to combine new lyrics with Notepad++ and then use Edit > Line Operations > Sort Lines Lexicographically Ascending
  3. pyo3 branch of https://github.com/diva-rust-modding/serde_divatree/ -> Used as a library for this project

Tools

generate_translation_db

Usage
  • Place your edited pv_db.txt in this folder. When running the script, select this PV DB in the tool.
  • The tool will ask for a name for your new lang translation array.
  • Wait for a little bit. The script should output everything into the toml once done.
Notes
  • The tool does not handle special characters that must be escaped very well. It has basic handling. Take your toml and then lint it with addons inside Visual Studio Code.
  • Afterwards, you must open your toml and add enabled = true to the top. I might fix this soon.

Development Info

No license. Do whatever you want, and I'm always open to additions or commmits to fix my terrible code.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages