O'Reilly logo

Mastering Joomla! 1.5 Extension and Framework Development by Chuck Lanham, James Kennard

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Translating

As part of a module, we can define a set of translations. A full description of how to create language files is available in Chapter 9, Customizing the Page. When we create module translation files, we must name the file according to a specific naming convention: the language tag, a period, and the Joomla! parsed module name. For example, the British English translation file for our module Critics Choice would be called en-GB.mod_criticschoice.php. Our module language file looks like this:

# Critics Choice Module Language File  # Created: 12/03/2009 # Author URL: http://www.packtpub.com # License: GNU/GPL COUNT=Count DESCCRITICSCHOICE=This Module shows a list of the movies that have been given five stars by our critics. COMPONENTMISSING=The ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required