PostNuke

Flexible Content Management System

News

MakeLang v2.0 - Language file builder

Contributed by This looks like an e on Jul 14, 2001 - 01:00 AM

Main features are:



  • Create a new language file or update an existing one.



    (Also create any module specific language file when used with PHP-Nuke 5.0 and up.)




  • Automatically use HTML entities where appropriate (PHP 4 and up only; can be disable).




  • Optimize the language file by sorting the strings, for a faster translation process (usefull with older PHP-Nuke; prior to 5.0).




  • Highlight new strings that may need a translation, old strings which don't seem to be used anymore, strings which are used in a mail and need a special care in regard, eg., of the accentuated characters.



    With PHP-Nuke 5.0 (and up), MakeLang can be set to warn if there are identical definitions for 2 (or more) different constants.




  • Choice between 2 different systems (output formats) for the language file; also compatibles with the new translation system from PHP-Nuke 5.0 !




  • No WRITE operation is performed, for a safer usage. The new language file is sent to the browser; the user can then choose to save it, edit it and/or install it on his PHP-Nuke site.








Note: MakeLang uses Perl regular expressions, so PHP 3.0.9 (or better) is required !











Download it from the French PHP-Nuke portal: http://www.boomtchak.net/







Rem.: I don't know much yet about the Post-Nuke code, but MakeLang should work fine with it too. (Don't hesitate to mail me any comment; feedback is a great help to improve things !)











AmigaPhil at ping.be







788