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.
- Importing/exporting raw
i2language.datfiles. - Storing everything as JSON files.
- Import/export to CSV files (can be used for Google Sheets).
- Extract the
i2language.datfile from game'sresources.assetsfile using Unity Assets Bundle Extractor. (UseExport Rawoption) - Launch the program and import the extracted
i2language.datfile. - Then, save the project to a folder.
- 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.
- Open the
languages.jsonfile in a text editor. - Add a new entry to the array. The entry should look like this:
{
"Name": "en",
"Code": "en",
"Flags": 0
}- Save the file and open
localesfolder which was created after exporting the files. - Copy-paste any of the existing language folders and rename it to the language code you specified in the
languages.jsonfile. - Edit the file in any way you want.
- Launch the program, select
Exportoption and pick the folder where you exported the files. - After that, you will get a new
i2language.datfile which you can put back into the game'sresources.assetsfile using UABE.
- Open any project.
- Select Export -> Export terms as .csv file
- Open the exported file in Google Sheets.
- Make changes to the file.
- Export the file back to CSV format. (Important: make sure to delete extra columns which were added by Google Sheets)
- Select Import -> Import terms from .csv file
- Save the project and export it.
This project is licensed under the MIT License - see the LICENSE file for details.
If you have any questions, you can contact me on Discord: @prevter