This content may be out-of-date

This book was written circa 2022, when Joomla 4 was still a new thing. It has not been updated for Joomla 5 and beyond, and it's no longer being worked on. You can usually find more up-to-date information in the official Joomla! Manual.

Language files

Language files in modules on Joomla! 4 and later versions follow the same concept as all other language files, e.g. for components: they no longer have the language tag as a prefix.

In Joomla! 3.x and earlier versions you would have two language files for English (Great Britain):

  • en-GB.mod_example.ini for the language strings you use when rendering the module, and the language strings in your module's configuration parameters.

  • en-GB.mod_example.sys.ini for the language strings used in your XML manifest file for the module's name and description.

In Joomla! 4 and later versions they are now called:

  • mod_example.ini

  • mod_example.sys.ini

Module language files are loaded automatically. You do not need to load them yourself.