To add a dictionary for your language, you need to create a translation file. For example, UI_EN.
You need these fields:
UI_DrunkSpeech_Dictionary_Filter
UI_DrunkSpeech_Dictionary_Case_Filter
Example: src/iDrunk/Contents/mods/iDrunk/media/lua/shared/Translate/EN/UI_EN.txt
[
{
"needle": [],
"add": {
"before": []
}
},
{
"needle": [],
"replace": {
"full": []
}
},
{
"needle": [],
"add": {
"after": []
}
}
]
Here you just need to specify the chars case. You can specify an empty json if you use hieroglyphs, etc.
{}