-
Notifications
You must be signed in to change notification settings - Fork 4
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
Client-side translation #17
Comments
Switching to |
What's the reason for switching language whilst logged in? Is this an actual request you received? I ask because I'm wondering whether it's because they just couldn't find the language setting. I'm working on a settings GUI redesign which will make it more prominent Implementing language switching yourself is dubious, only your mod will change language - not other mods or the engine |
Yes, the request is to have a language setting right in the EDUtest UI (thus, in-game). To be sure, I pointed out the existing language setting using a screenshot. A downside of it might be that it requires restarting Minetest (https://github.com/minetest/minetest/blob/master/src/settings_translation_file.cpp#L194). I agree that a mod-specific language switcher should be avoided if possible. Should I have to implement it, I might look into writing a Minetest PR for a language switching API, for which the mod-specific switcher could become a frontend later on. |
In the |
You currently use intllib, which forces all users to use the same language
I recommend using Minetest's built-in support for translation instead. I wrote a tutorial here: https://rubenwardy.com/minetest_modding_book/en/quality/translations.html
The text was updated successfully, but these errors were encountered: