My mod adds a lot of new string entries because there are a lot of new items and such. Out of all languages, Russian seems to be the only one that crashes the game on startup. Removing the Russian entries from the translation json fixes the issue, the game can be started with Russian language selected (but since there are no translations for several objects, a lot of strings show up as an evil force in game).
I tried using two different translators to generate translations for all languages but the game still crashes for Russian (and only Russian). There must be a bug somewhere in the string parser that needs to be fixed. Russians should be able to play in their own language.
I need to mention the crash doesn’t happen if I completely remove like half of the translation objects. But no matter where I add the translations I removed (I tried to split them in multiple translation files to see if there’s a limit on a file basis), the game crashes on startup when I do so.
This is not a dev statement, and it’s only a opinion of a small time modder which I sort of am…
So:
perhaps due to engine limitations there’s some sort limit to the amount of text that can be added to the translation files… naturally Russian alphabet glyphs whey more than standard ASCII latin coding, due to Russian glyphs being multibyte unlike single byte ASCII glyphs. I for example read on a long gone D2 modding forum that the .txt format excel files have their limitations to how much rows one can fit into them ( each separate file has it’s own limit), so perhaps the translation files have limit as well ( most likely tied to the amount of memory that can be assigned to it by the engine),
Agin this is just my personal opinion on the matter, I’m not a dev… though I’ve read stuff on D2 modding here and there throughout those 20+ years, so my suspicions migh not be totally pointless…
This makes perfect sense. I suspected there was a limit, but I never thought of characters in terms of bytes each ASCII glyph takes up.
i was rather thinking of the old folk saying keep continously adding grain to picked grains, and you’ll find yourself with full measure…
TL : DR
there’s probably a size limit that json file may have… and since russian glyphs hae bigger size than ASCII ones it sort of fills the size limit that much quicker… that’s all there’s to it, so if there are no additional bugs regarding Russian letters, i think this might be it…
This still happens. Is there any eta for a bug fix? If blizzard expanded the buffer size for the translations, it would fix this issue.
Your best bet would be to open up a support ticket for d2r on blizzard’s website… Unfortuneatly i cannot be of assistance to this, as I don’t work for them…