Quote:
Can I include your language files into the original archive of myAlbum-P
Of course, it will be my honour
BTW. There is a question of tracking lang file changes according to new versions of the module. I think translation tracking has not been solved anywhere in the XOOPS community. You can't save the whole world, but you may start from your own project. So may I ask you to include lancuage file changes in new version announcements? Just a note which constants are added and which are obsolete. Hope it will allow keeping lang files clear, without lots of unnecessary legacy stuff.
hi kaper.
I use a executable script named "Xoops Language Checker" with my modules.
(Of course, Xoops Language Checker is also my work)
When I add some language contants into english, I always run the script with --patch option just before release.
eg)
oldenglish/main.php
<?php
define('MB_LOVE','love')
?>
german/main.php
<?php
define('MB_LOVE','liebe')
?>
new<?php
define('MB_YOU','you')
define('MB_LOVE','love')
?>
Then, german/main.php will be:
<?php
// Appended by Xoops Language Checker -GIJOE- in 2004-09-22 19:11:13
define('MB_YOU','you');
define('MB_LOVE','liebe')
?>
Thus, all you have to do is to translate the top block of language files like this:
<?php
// Appended by Xoops Language Checker -GIJOE- in 2004-09-22 19:11:13
define('MB_YOU','you' 'dich');
define('MB_LOVE','liebe')
?>
Maintaining the language files of my modules is much easier than another module, isn't it?