X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=inc%2Fi10n%2Ftranslate.txt;fp=inc%2Fi10n%2Ftranslate.txt;h=47ec57217a9a83b2bc193d9428054201b129f13e;hp=0000000000000000000000000000000000000000;hb=0feade23ffa41ac299b252a93be4da11bc2a16b7;hpb=3848f54e1bde1afac7fa595822526d6c96b1ff18 diff --git a/inc/i10n/translate.txt b/inc/i10n/translate.txt new file mode 100644 index 0000000..47ec572 --- /dev/null +++ b/inc/i10n/translate.txt @@ -0,0 +1,25 @@ +how to add a language: +---------------------- +If you want to add language xy, run +$ ./updatelang.php xy +then, translate all strings in xy/syp.php + +how to update a language: +------------------------- +If you want to update language xy, run +$ ./updatelang.php xy +then, translate empty strings xy/syp.php + +how to remove a language: +------------------------- +If you want to remove language xy, remove xy directory, and unlink symbolic +links in root directory: +$ rm -r xy/ +$ rm ../../*.xy.php + +******************* +* IMPORTANT NOTES * +******************* + +- you can split a translated string in several lines, but it must stay a php string: + use a dot (".") to tell the php interpreter that string is not finished.