There were a few attempts to implement I18N for mods by using mods but I think this not a good solution in my opinion for serveral reasons:
- Because they are mods, it depends on the server wheather translations are provided at all
- Because they are mods, there is no clean standard way to translate mods
- The mods are more or less a bit obscure and not everyone even knows about them
What would be really needed is translation support directly from the core. Some support from the Lua API would be great. So that modders don’t have to worry about dependencies, they can simply use the Lua API to mark strings as translatable. And server operators don’t have to explicitly enable I18N support by providing a mod.
Now I am not exactly sure how to implement something like that. I would be in favor of a gettext-based solution, because Minetest already uses gettext. But I wouldn’t oppose other solutions if they work.
Any further ideas or comments on this?