Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
0 + 5 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     
replace into it these files, with your own, translated into your language: install.php install2.php welcome.php support.php -> in support.php file, add extra support sites, use corresponding language folder name as key, for instance: [code]$supports["french"] = array( "url" => "http://www.frxoops.org/", "title" => "Support francophone" );[/code] --------------------------- htdocs\language -> copy the english folder entirely htdocs\language\english and past it -> rename new folder (the copy) into "yourlang" htdocs\language\yourlang -> replace into it these files, with your own, translated into your language: admin.php auth.php banners.php calendar.php captcha.php comment.php countries.php errors.php findusers.php formdhtmltextarea.php global.php locale.php logger.php mail.php misc.php notification.php pmsg.php search.php timezone.php uploader.php user.php xoopsmailerlocal.php [b](0a)[/b] \mail_template\activated.tpl \mail_template\adminactivate.tpl \mail_template\comment_notify.tpl \mail_template\commentsubmit_notify.tpl \mail_template\default_notify.tpl \mail_template\lostpass1.tpl \mail_template\lostpass2.tpl \mail_template\register.tpl \mail_template\tellfriend.tpl \mail_template\welcome.tpl [b](0a) Only put your lang code line 43, example for french:[/b] [code]$this->multimailer->SetLanguage("fr");[/code] ([b]1) Important: if you take the translated files from the website Transifex, you must rename the file [color=0066FF].html[/color] into [color=0066FF].tpl[/color][/b] --------------------------- htdocs\modules\pm\language -> copy the english folder entirely htdocs\modules\pm\language\english and past it -> rename new folder (the copy) into "yourlang" htdocs\modules\pm\language\yourlang -> replace into it these files, with your own, translated into your language: admin.php main.php modinfo.php \help\help.html [b](2) Important: if you take the translated file [color=3300FF]help.html[/color] from the website Transifex, I suggest you to take the English original file and edit from it, because the beginning of the code is truncated. Transifex not recognizing the code of XOOPS (i.e $xoops_url ; xoAdminIcons home.png), and it modifies or deletes it.[/b] --------------------------- htdocs\modules\profile\language\ -> copy the english folder entirely htdocs\modules\profile\language\english\ and past it -> rename new folder (the copy) into "yourlang" htdocs\modules\profile\language\yourlang\ -> replace into it these files, with your own, translated into your language: admin.php main.php modinfo.php \help\help.html \mail_template\emailchanged.tpl [b]Important: See warnings (1) and (2) above[/b] --------------------------- htdocs\modules\protector\language\ -> copy the english folder entirely htdocs\modules\protector\language\english and past it -> rename new folder (the copy) into "yourlang" htdocs\modules\protector\language\yourlang -> replace into it this file, with your own, translated into your language: \help\help.html [b]Important: See warning (2) above[/b] --------------------------- htdocs\modules\system\language -> copy the english folder entirely htdocs\modules\system\language\english and past it -> rename new folder (the copy) into "yourlang" htdocs\modules\system\language\yourlang -> replace into it these files, with your own, translated into your language: admin.php blocks.php cpanel.php modinfo.php \admin\avatars.php \admin\banners.php \admin\blocksadmin.php \admin\comments.php \admin\groups.php \admin\images.php \admin\mailusers.php \admin\maintenance.php \admin\modulesadmin.php \admin\preferences.php \admin\smilies.php \admin\tplsets.php \admin\userrank.php \admin\users.php \help\avatars.html \help\banners.html \help\blocksadmin.html \help\comments.html \help\groups.html \help\help_center.html \help\images.html \help\mailusers.html \help\maintenance.html \help\module_index.html \help\modulesadmin.html \help\preferences.html \help\smilies.html \help\tplsets.html \help\userrank.html \help\users.html --------------------------- htdocs\modules\system\themes\default\language -> copy the english folder entirely htdocs\modules\system\themes\default\language\english and past it -> rename new folder (the copy) into "yourlang" htdocs\modules\system\themes\default\language\yourlang -> replace into it these files, with your own, translated into your language: admin.php localsupport.php [b](3)(4)[/b] [b](3) this file is the same in: htdocs\modules\system\themes\zetadigme\language\yourlang (4) for example in french file localsupport.php, we have this code:[/b] [code]define("_AD_XOOPS_LOCAL_NAME","Accueil"); define("_AD_XOOPS_LOCAL_FORUMS","Forums"); define("_AD_XOOPS_LOCAL_THEMES","Galerie de thèmes"); define("_AD_XOOPS_LOCAL_MODULES","Référentiel de modules"); define("_AD_XOOPS_LOCAL_XDONATIONS","Faire un don"); define("_AD_XOOPS_LOCAL_SFXF","Sourceforge Xoops France"); $menu = array(); // French support $menu[] = array( "link" => "http://www.frxoops.org", "title" => _AD_XOOPS_LOCAL_NAME, "absolute" => 1, "icon" => XOOPS_ADMINTHEME_URL . "/default/images/xoops.png" ); $menu[] = array( "link" => "http://www.frxoops.org/modules/newbb/", "title" => _AD_XOOPS_LOCAL_FORUMS, "absolute" => 1, "icon" => XOOPS_ADMINTHEME_URL . "/default/images/xoops.png" ); $menu[] = array( "link" => "http://sourceforge.net/projects/xoopsfrance/", "title" => _AD_XOOPS_LOCAL_SFXF, "absolute" => 1 ); $menu[] = array( "link" => "https://xoops.org/modules/xdonations/", "title" => _AD_XOOPS_LOCAL_XDONATIONS, "absolute" => 1 ); return $menu;[/code] --------------------------- htdocs\modules\system\themes\zetadigme\language\ -> copy the english folder entirely htdocs\modules\system\themes\zetadigme\language\english and past it -> rename new folder (the copy) into "yourlang" htdocs\modules\system\themes\zetadigme\language\yourlang -> replace into it these files, with your own, translated into your language: admin.php localsupport.php [b](3)(4)[/b] [b]See (3) and (4) notifications above[/b] --------------------------- htdocs\themes\suico\language\ -> copy the english folder entirely htdocs\themes\suico\language\english and past it -> rename new folder (the copy) into "yourlang" htdocs\themes\suico\language\yourlang -> replace into it this file, with your own, translated into your language: main.php --------------------------- htdocs\themes\zetagenesis\language\ -> copy the english folder entirely htdocs\themes\zetagenesis\language\english and past it -> rename new folder (the copy) into "yourlang" htdocs\themes\zetagenesis\language\yourlang -> replace into it this file, with your own, translated into your language: main.php --------------------------- htdocs\xoops_lib\modules\protector\language -> copy the english folder entirely htdocs\xoops_lib\modules\protector\language\english and past it -> rename new folder (the copy) into "yourlang" htdocs\xoops_lib\modules\protector\language\yourlang -> replace into it these files, with your own, translated into your language: admin.php main.php modinfo.php -------------------------- htdocs\class\mail\phpmailer\language\ phpmailer.lang-yourshortlang.php Work with this file: xoopsmailerlocal.php, see [b](0a)[/b] above. -------------------------- ======= Optional? ======= htdocs\xoops_lib\modules\protector\library\HTMLPurifier\Language -> I don't know if we have to translate any file into this folder. ====================== Files not included on Transifex ====================== Files that are not accepted by Transifex (code or extension that are not compatible): [size=xx-small]htdocs\install\language\yourlang\mysql.lang.data.sql htdocs\install\language\yourlang\support.php htdocs\install\language\yourlang\welcome.php htdocs\xoops_lib\modules\protector\language\yourlang\modinfo.php htdocs\class\xoopseditor\tinymce\tinymce\jscripts\tiny_mce\themes\simple\langs\yourshortlang.js htdocs\class\xoopseditor\tinymce\tinymce\jscripts\tiny_mce\langs\yourshortlang.js htdocs\class\xoopseditor\tinymce\tinymce\jscripts\tiny_mce\plugins\paste\langs\yourshortlang_dlg.js htdocs\class\xoopseditor\tinymce\tinymce\jscripts\tiny_mce\plugins\template\langs\yourshortlang_dlg.js htdocs\class\xoopseditor\tinymce\tinymce\jscripts\tiny_mce\plugins\xhtmlxtras\langs\yourshortlang_dlg.js htdocs\class\xoopseditor\tinymce\tinymce\jscripts\tiny_mce\plugins\advlink\langs\yourshortlang_dlg.js htdocs\class\xoopseditor\tinymce\tinymce\jscripts\tiny_mce\plugins\fullpage\langs\yourshortlang_dlg.js htdocs\class\xoopseditor\tinymce\tinymce\jscripts\tiny_mce\plugins\searchreplace\langs\yourshortlang_dlg.js htdocs\class\xoopseditor\tinymce\tinymce\jscripts\tiny_mce\plugins\style\langs\yourshortlang_dlg.js htdocs\class\xoopseditor\tinymce\tinymce\jscripts\tiny_mce\plugins\table\langs\yourshortlang_dlg.js htdocs\class\xoopseditor\tinymce\tinymce\jscripts\tiny_mce\plugins\example\langs yourshortlang.js yourshortlang_dlg.js htdocs\class\xoopseditor\tinymce\tinymce\jscripts\tiny_mce\plugins\xoopscode\langs yourshortlang.js yourshortlang_dlg.js htdocs\class\xoopseditor\tinymce\tinymce\jscripts\tiny_mce\plugins\xoopsemotions\langs yourshortlang.js yourshortlang_dlg.js htdocs\class\xoopseditor\tinymce\tinymce\jscripts\tiny_mce\plugins\xoopsquote\langs yourshortlang.js yourshortlang_dlg.js htdocs\class\xoopseditor\tinymce\tinymce\jscripts\tiny_mce\plugins\xoopsimagemanager\langs yourshortlang.js yourshortlang_dlg.js htdocs\class\xoopseditor\tinymce\tinymce\jscripts\tiny_mce\plugins\xoopsmlcontent\langs yourshortlang.js yourshortlang_dlg.js htdocs\class\xoopseditor\tinymce\tinymce\jscripts\tiny_mce\themes\advanced\langs yourshortlang.js yourshortlang_dlg.js htdocs\class\xoopseditor\tinymce\tinymce\jscripts\tiny_mce\plugins\advhr\langs\yourshortlang_dlg.js htdocs\class\xoopseditor\tinymce\tinymce\jscripts\tiny_mce\plugins\advimage\langs\yourshortlang_dlg.js htdocs\class\xoopseditor\tinymce\tinymce\jscripts\tiny_mce\plugins\emotions\langs\yourshortlang_dlg.js htdocs\class\xoopseditor\tinymce\tinymce\jscripts\tiny_mce\plugins\media\langs\yourshortlang_dlg.js htdocs\class\mail\phpmailer\language\phpmailer.lang-yourshortlang.php htdocs\language\yourlang\xoopsmailerlocal.php htdocs\install\language\yourlang\finish.php htdocs\modules\system\themes\zetadigme\language\yourlang\localsupport.php htdocs\modules\system\themes\default\language\yourlang\localsupport.php[/size][/quote]" />

Re: Tutorial for Xoops 2.5.6 translation
by Cesagonchu on 2014/3/2 11:56:35

Here:
https://www.transifex.com/projects/p/xoops-257/language/da_DK/

You can see only one admin.php into language\renametoyourlang\
named
257[language-renametoyourlang]admin.php

The other files are outside.


[language-renametoyourlang]admin.php was for Xoops 2.5.6
and
admin.php for Xoops 2.5.5


To download from the website Transifex manually, you only have for example to click on 257[language-renametoyourlang]admin.php from here:
https://www.transifex.com/projects/p/xoops-257/language/da_DK/

Then, click to "Download for use" (for you it is in Danish).
Re: Tutorial for Xoops 2.5.6 translation
by anderssk on 2014/3/2 9:36:04

Now it takes longer time to fix and rename files that it does to translate them
I can't figure out how to download directly from the website - i think i missed something...

In the folder (and when i download files throug TX) i get
257[language-renametoyourlang]admin.php
admin.php
[language-renametoyourlang]admin.php

Why 3 files?


https://www.transifex.com/projects/p/xoops/translate/#da_DK
Re: Tutorial for Xoops 2.5.6 translation
by Cesagonchu on 2014/3/1 23:48:59

Thank you for your help with translation anderssk!
I do not use the Transifex utility. I translate the files online and I download each manually.

Yes, each file must be renamed.

When I click on a file to use, its name includes the path for the position.

For example, the file:

for_use_xoops_language-renametoyourlanglocalephp_da_DK.php

will become:

locale.php

to place in:

language\danish\
Re: Tutorial for Xoops 2.5.6 translation
by Mamba on 2014/3/1 23:28:57

I agree that the process is not the best, and Transifex could make it easier.

I was reading recently their blog about links to GitHub. Maybe this could help in the future.

Otherwise we might do the same way as we did on SVN - create files on GitHub, and let people to submit their versions, and then merge once approved by the Translatations team leaders.

Clearly, the process has to be very easy, otherwise the translators will lose interest very quickly.
Re: Tutorial for Xoops 2.5.6 translation
by anderssk on 2014/3/1 23:01:49

Hi Cesag,
I'm almost done with the danish translations, but the TX client is killing me

I translated online through transifex

got the TX utility
Run the following commands
tx set auto-remote https://www.transifex.com/projects/p/xoops
tx pull -l da_DK -s

Now i got the files on my local disk but in 171 folders each containing two files
da_DK.php
en_US.php

What am i doing wrong - I don't think that I have to rename all the files one-by-one?

Who's Online

379 user(s) are online (346 user(s) are browsing Support Forums)


Members: 0


Guests: 379


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits