PEAK XOOPS - Re: Polish translation of MyAlbum-P 2.83 in englishin japanese

Re: Polish translation of MyAlbum-P 2.83

List posts in the topic

question Re: Polish translation of MyAlbum-P 2.83

msg# 1.1.1.1
depth:
3
Previous post - Next post | Parent - No child | Posted on 2004/9/23 18:48
GIJOE  ÀèǤ·³Áâ   Posts: 4110
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)
old
english/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?
Votes:2 Average:0.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!