| Joomla! 1.0 component tutorial - part 1: front-end |
|
Page 4 of 4 6. Remaining frontend filesThere are few more files in frontend folder: language file, CSS file, and images.Language file - lang/english.php: It's always good to provide language file, instead of using strings inside component, so the component can be translated easier. CSS file - css/jp.css: jp.css
CSS file contains all classes used in divs in the component. So far I haven't found a tool which would make checking language or css files easier. Now whatever change in the code is done - a text constant added or changed, or CSS class name changed - one has to remember to add/remove/change the respective one in the language or CSS file.
|