Book Image

Learning Joomla! 1.5 Extension Development

Book Image

Learning Joomla! 1.5 Extension Development

Overview of this book

Table of Contents (17 chapters)
Learning Joomla! 1.5 Extension Development
Credits
About the Author
About the Reviewer
Preface

Creating translations


When you installed the French language packs, you may have wondered exactly what happened. Joomla! language packs have one file for each core extension. There are two folders named language where these files are placed one at Joomla!'s root and one inside the administrator folder. The language folders contain one folder for each language pack installed.

These folders are named for the language's ISO language code. For instance, the British English pack is in en-GB and French French is in fr-FR. The language files for the individual extensions are located within these folders. There is one additional file in each language folder that defines phrases that are not exclusively used by any single extension.

To begin translating the interface for the "Restaurant Reviews" component into French, open the file /administrator/components/com_restaurants/views/all/tmpl/default.php. Make the following highlighted change to the header row of the second table:

<tr>
<th...