Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translation support #384

Open
IlDucci opened this issue Jan 23, 2022 · 0 comments
Open

Translation support #384

IlDucci opened this issue Jan 23, 2022 · 0 comments

Comments

@IlDucci
Copy link

IlDucci commented Jan 23, 2022

(Pinging @NPi2Loup in particular, as they seem to be the actual maintainer of this mod)

At its current state, all changes and improvements added for VR have been stuck into English-only. While I can do a few things, coding is something that escapes my current knowledge. Anyway, these are the elements that I have seen at a glance:

  • Every new VR setting added to the main menu is hardcoded and should be exported to the strings dictionary file. A new lang file can be added to avoid adding the entire string table (you could call the file englishVR.lang, frenchVR.lang, spanishVR.lang, etc.). Affected files are in neo\d3xp\menus\MenuScreen_Shell_Settings.cpp and it's cronies at \neo\d3xp\menus\MenuScreen_Shell_VR_XXXX.cpp . I'm going to try something with a fellow modder.
  • The lookforward.tga file is a single baked texture with English texts. While the texture is used to detect if the VR mod exists, I think the contents should be replaced with something without texts, so the actual screen displayed ingame is a GUI or a modern SWF file with additional text displayed, taken from the string dictionary file.
  • The new FlickSync feature has the texts, again, hardcoded. This file would require an external dict file, just like what was done with the voice.dict file.
  • The voice.dict file could also be localizable, instead of just having to replace the English dict file with a Spanish one? This one's a weird one.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant