-
-
Notifications
You must be signed in to change notification settings - Fork 456
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
Add option to seamlessly switch between localizations #1552
Comments
One idea to switch between soundpaths in realtime, without messing with existing logic that much. Context: We can add some sort of flag in engine to tell what language we're using. |
It's good, but can you also add the font prefix changing? For German language it requires |
Ahhh! Thank you. Now I know why we have issue #865. |
No, in #865 it was other problem caused with renderer or driver on non-Windows OS. |
No, it is exactly because font prefix :) |
Developers of True Stalker (based on modified version of OpenXRay) managed to make game localisation (text, at least) switchable from the settings in main menu. Actually, here's extracted lua script that is used for it (I have borrowed it into my repo): https://github.com/lehrax-gaming/true-localisation/blob/main/gamedata/scripts/ts_utils.script#L597 |
It was added in OpenXRay a lot of time ago. |
But yes, font prefix is not changable. It's required only for Czech(might be for Polish tool), French and German localizations. |
Players should have the following options available in sound settings: Audio Language, Text Language
Changing audio language will load sounds in from some localized sound directory.
Changing text language will load translation .xml files from
gamedata/configs/text/LANGUAGE_NAME/
Ideally, this will happen in realtime and not require a game restart for changes to take effect.
The text was updated successfully, but these errors were encountered: