Tool for managing language files

Date 2003/10/20 17:12:49 | Topic: Developer News

"Xoops Language Checker" has just been released.
You can download it from

Place 3 files included the archive into the same directory like /usr/local/bin.
Althogh 3 file is executable, you should run xoops_lang_check.php only.

I believe this tool must be useful for module developpers and translators.

For a module developper who maintains "mod_a" in mainly Spanish :
$ xoops_lang_check.php module/mod_a spanish english
This command shows you which constant definitions of english are insufficient.

$ xoops_lang_check.php --patch module/mod_a spanish
This command append constant definitions into apropriate files for all languages automatically.

For a translator who maintain "mod_a" from english to French :
$ xoops_lang_check.php --patch module/mod_a english french
After this command, you can easily found and edit the constants added new.

This tool is written in PHP CLI. Even if you don't have PHP CLI, converting to another type of PHP is easy, I think.

This article comes from XOOPS Web Application System

The URL for this story is: