Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Prevter/I2Editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I2Language Editor

This projects is efforts at modding custom languages into games which use the I2Localization plugin. The project is currently being developed for the game Vampire Survivors, but probably can be used for other games as well which use the same plugin.

Features implemented

  • Importing/exporting raw i2language.dat files.
  • Storing everything as JSON files.
  • Import/export to CSV files (can be used for Google Sheets).

How to use

  1. Extract the i2language.dat file from game's resources.assets file using Unity Assets Bundle Extractor. (Use Export Raw option)
  2. Launch the program and import the extracted i2language.dat file.
  3. Then, save the project to a folder.
  4. If you're making changes to the files manually, you'll have to re-open the project to export. If you're using the import feature, you can just save the project and export it.

How to add new languages

  1. Open the languages.json file in a text editor.
  2. Add a new entry to the array. The entry should look like this:
{
    "Name": "en",
    "Code": "en",
    "Flags": 0
}
  1. Save the file and open locales folder which was created after exporting the files.
  2. Copy-paste any of the existing language folders and rename it to the language code you specified in the languages.json file.
  3. Edit the file in any way you want.
  4. Launch the program, select Export option and pick the folder where you exported the files.
  5. After that, you will get a new i2language.dat file which you can put back into the game's resources.assets file using UABE.

Using CSV files

  1. Open any project.
  2. Select Export -> Export terms as .csv file
  3. Open the exported file in Google Sheets.
  4. Make changes to the file.
  5. Export the file back to CSV format. (Important: make sure to delete extra columns which were added by Google Sheets)
  6. Select Import -> Import terms from .csv file
  7. Save the project and export it.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

If you have any questions, you can contact me on Discord: @prevter

About

Add custom translations for games with I2Localization plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages