Wikimedia projects extensively use templates and Lua modules for critical features like infoboxes, and welcome messages. These are developed by skilled community members and are essential for the functionality and user experience across multiple languages. Despite their complexity and importance, templates and modules lack a framework for internationalization and localization, unlike MediaWiki extensions.
This video goes over the problem that we are trying to solve in more detail:
https://www.mediawiki.org/wiki/File:Wikimedia_Language_showcase_September_2020.webm
You can also read: https://www.mediawiki.org/wiki/Translatable_modules
Create a Lua module that will allow modules to access the strings defined in a message bundle.
Current status
The functionality is enabled on testwiki.
- Documentation about the Module API: https://www.mediawiki.org/wiki/User:APatro_(WMF)/Message_Bundle_Lua_Integration
- Current challenges: https://www.mediawiki.org/wiki/User:APatro_(WMF)/Message_Bundle_Lua_Integration/Challenges
Some notes for testing out the functionality: https://www.mediawiki.org/wiki/User:APatro_(WMF)/Message_Bundle_Lua_Integration/Testing