11
Kiwi_Chris
Re: xTRANSAM 1.04 - Language Translator.....
  • 2009/5/17 21:34

  • Kiwi_Chris

  • Just popping in

  • Posts: 79

  • Since: 2009/1/3 2


Hi is there any documentation explaining how to use this module,
or what it does?

I have a website that has a lot of visits from all over the world, and I would love to be able to translate many parts of the site so it can be available to them.

I understand this module translates content, is there a way users can switch between translations?

All I am looking for is a little more information what the module is and what it isn't.

Thanks for this module.

Kiwi Chris.

12
wishcraft
Re: www.xoops.org style PHP Script Block


Here is a php script block for XOOPS 2.x.x that will display the block like sequence of the translate function on xoops.org.

Quote:


Maybe after you install and setup you need create a block with google translator, as you see here http://translate.google.com/translate_tools?hl=en&sl=en

Maybe ... I don't know. In fact I wish something like the widget in top of this theme

But Wishcraft: a big THANK YOU!


global $xoopsConfig;
echo 
'';
if ( 
$xoopsConfig['xoops_langcode'] != 'sq' ) { echo 'Albanian';}
if ( 
$xoopsConfig['xoops_langcode'] != 'ar' ) { echo 'Arabic';}
if ( 
$xoopsConfig['xoops_langcode'] != 'bg' ) { echo 'Bulgarian';}
if ( 
$xoopsConfig['xoops_langcode'] != 'ca' ) { echo 'Catalan';}
if ( 
$xoopsConfig['xoops_langcode'] != 'zh-CN' ) { echo 'Chinese (Simplified)';}
if ( 
$xoopsConfig['xoops_langcode'] != 'zh-TW' ) { echo 'Chinese (Traditional)';}
if ( 
$xoopsConfig['xoops_langcode'] != 'hr' ) { echo 'Croatian';}
if ( 
$xoopsConfig['xoops_langcode'] != 'cs' ) { echo 'Czech';}
if ( 
$xoopsConfig['xoops_langcode'] != 'da' ) { echo 'Danish';}
if ( 
$xoopsConfig['xoops_langcode'] != 'nl' ) { echo 'Dutch';}
if ( 
$xoopsConfig['xoops_langcode'] != 'en' ) { echo 'English';}
if ( 
$xoopsConfig['xoops_langcode'] != 'et' ) { echo 'Estonian';}
if ( 
$xoopsConfig['xoops_langcode'] != 'tl' ) { echo 'Filipino';}
if ( 
$xoopsConfig['xoops_langcode'] != 'fi' ) { echo 'Finnish';}
if ( 
$xoopsConfig['xoops_langcode'] != 'fr' ) { echo 'French';}
if ( 
$xoopsConfig['xoops_langcode'] != 'gl' ) { echo 'Galician';}
if ( 
$xoopsConfig['xoops_langcode'] != 'de' ) { echo 'German';}
if ( 
$xoopsConfig['xoops_langcode'] != 'el' ) { echo 'Greek';}
if ( 
$xoopsConfig['xoops_langcode'] != 'iw' ) { echo 'Hebrew';}
if ( 
$xoopsConfig['xoops_langcode'] != 'hi' ) { echo 'Hindi';}
if ( 
$xoopsConfig['xoops_langcode'] != 'hu' ) { echo 'Hungarian';}
if ( 
$xoopsConfig['xoops_langcode'] != 'id' ) { echo 'Indonesian';}
if ( 
$xoopsConfig['xoops_langcode'] != 'it' ) { echo 'Italian';}
if ( 
$xoopsConfig['xoops_langcode'] != 'ja' ) { echo 'Japanese';}
if ( 
$xoopsConfig['xoops_langcode'] != 'ko' ) { echo 'Korean';}
if ( 
$xoopsConfig['xoops_langcode'] != 'lv' ) { echo 'Latvian';}
if ( 
$xoopsConfig['xoops_langcode'] != 'lt' ) { echo 'Lithuanian';}
if ( 
$xoopsConfig['xoops_langcode'] != 'mt' ) { echo 'Maltese';}
if ( 
$xoopsConfig['xoops_langcode'] != 'no' ) { echo 'Norwegian';}
if ( 
$xoopsConfig['xoops_langcode'] != 'pl' ) { echo 'Polish';}
if ( 
$xoopsConfig['xoops_langcode'] != 'pt' ) { echo 'Portuguese';}
if ( 
$xoopsConfig['xoops_langcode'] != 'ro' ) { echo 'Romanian';}
if ( 
$xoopsConfig['xoops_langcode'] != 'ru' ) { echo 'Russian';}
if ( 
$xoopsConfig['xoops_langcode'] != 'sr' ) { echo 'Serbian';}
if ( 
$xoopsConfig['xoops_langcode'] != 'sk' ) { echo 'Slovak';}
if ( 
$xoopsConfig['xoops_langcode'] != 'sl' ) { echo 'Slovenian';}
if ( 
$xoopsConfig['xoops_langcode'] != 'es' ) { echo 'Spanish';}
if ( 
$xoopsConfig['xoops_langcode'] != 'sv' ) { echo 'Swedish';}
if ( 
$xoopsConfig['xoops_langcode'] != 'th' ) { echo 'Thai';}
if ( 
$xoopsConfig['xoops_langcode'] != 'tr' ) { echo 'Turkish';}
if ( 
$xoopsConfig['xoops_langcode'] != 'uk' ) { echo 'Ukrainian';}
if ( 
$xoopsConfig['xoops_langcode'] != 'vi' ) { echo 'Vietnamese';}
echo  
';
echo 
$xoopsConfig['xoops_langcode'];
echo 
'" />;
echo 
XOOPS_URL.$_SERVER['REQUEST_URI'];
echo 
'" /> ';
Resized Image
http://www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts

13
Mamba
Re: xTRANSAM 1.04 - Language Translator.....
  • 2009/6/24 23:36

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Simon, I have problems with Chinese translation.

Simon, I have problems with XTransam - I cannot translate a module from Taiwan: Tad Uploader:
http://xoops.tnc.edu.tw/modules/tadnews/index.php?nsn=163

The translation didn't work. In Simplified Chinese I am getting garbage as translation, and the Traditional Chinese doesn't translate at all.
I have fresh install of 2.3.3 on WAMP

I've tried to translate another module from English to German and it worked without any problems.

Any idea?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Login

Who's Online

435 user(s) are online (79 user(s) are browsing Support Forums)


Members: 0


Guests: 435


more...

Donat-O-Meter

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

Latest GitHub Commits