Language INI maker


The component for developers to simplify the creation of language INI-files for Joomla 1.5 on the source code (php and xml files) selected component.

Here is the process of creating a file in two steps. First, is parsing component and output to the page then saved to a file (after visual inspection).

Description of work:
* In the folder "components / ", or administrator / components / selected all the files depending on "Client" and "Component".
* In PHP files searched for key phrases for the transfer of a pattern "JText ::_(*)".
* In XML file searched for key phrases in the "params", "state", "layout", "message", "title", "label", "description".
* These key phrases are compared and, if necessary, combined with phrases already available in the INI file selected language.
* Results of the key phrases written in the INI-file. Old file renamed the with the extension "bak".
* All comments in the INI-files are remaining stable.
* There is the option to make excessive creation of the language file (that is, if the phrase is not found in source code, but it already exists in the old INI-file, it will be added to the new one).

No comments:

Post a Comment