insomniac-eeper / BTTDRichDiscordPresence

BepInEx mod to add Rich Discord Presence to the game Back to the Dawn.
MIT License
1 stars 0 forks source link

[REQUEST] Localization support #4

Open insomniac-eeper opened 1 month ago

insomniac-eeper commented 1 month ago

Is your feature request related to a problem? Please describe. The mod will only update rich presence with English names, words and descriptions. Even for game-supported languages.

Describe the solution you'd like Detect game language and display rich presence in that language.

Additional context It would be nice if implementation would work with not just the game supported languages.

insomniac-eeper commented 1 month ago

Language types are currently hard-coded for the game in the sense that there is an explicitly defined enum : Japanese, Chinese, and English as well as certain classes exposing text variants via properties of the same names. As far as in-game goes we would need an assembly patcher to add new languages.