') ') Fork me on GitHub

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $10.00
Net Balance: $9.41
Left to go: $90.59

Donations
Dante7237  ($10)Dec-3

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

- 2 2.5 2.6 3.0 4 6 adslight Android AntiHarvesting AntiMalUser AntiSpam API Apple Battlefield billige Bootstrap Captcha cell cent chronolabs CHUNG Clicks content CĂN demo docek download Dresses evden eve facebook Fat floor for free Gateway giải Google Guide herre Honeypot Human HỘ IP iPhone jQuery Language Law Legal List log Loss module modules Monster new newbb news NHÀ online PARK Payment phone PHP Prevention profile project Protector publisher RESIDENCE responsive review Rights rmcommon security Sentry Signatures Signed site Smartphone Smoking Solution Spam stem Studio tdmcreate template The Theme themes tháp web weight xoops Xortify XPayment ZendFramework

New Users

Registering user

# 137911

mydarkglobe

Welcome to XOOPS!




Bottom   Previous Topic   Next Topic  |  Register To Post



#1 Posted on: 2013/2/17 8:30 Fast Xoops Language Translator v.0.1
Hi people,
I created a script to make life easier for who want to translate the Xoops modules .

How "Fast XooLaT" work:

1) download the zip and extract on Xoops root
2) Set Microsoft Translator API Key in xoolat/translate/config.inc.php
3) indicate the path on url ex. http://www.innovationsky.org/xoolat/t ... anguage/english/admin.php (click to view demo)
4) Indicate in which language you want to translate
5) Enter a description to identify the translation ex. "Translation of Xoops v.2.5.5"
6) Click Get Code

Now, you will get your translation ready on site Ideone.com where you can download or share the translation.

Feature:
- I hope to make the script a Xoops module
- Use multiple source languages ​​(currently English only)
- Automatically find modules and languages

If you have problems or suggestions, for example an alternative ti Ideone.com , contact me.

Screenshot:
Resized Image


Resized Image


Resized Image


Resized Image


Resized Image


Top

angelomorto
Joined:
2006/6/30 3:06
From Barcellona
Group:
Registered Users
Posts: 48
(Show More) (Show Less)


#2 Posted on: 2013/2/17 21:18 Re: Fast Xoops Language Translator v.0.1
very nice tool indeed.
I still cannot make it to work for me in localhost.
It keeps show me this error:
Fatal errorMaximum execution time of 30 seconds exceeded in F:/xampp/htdocs/xoops255/xoolat/result.php on line 31


I think something is wrong with my installation?
i will try more.

Edit:
ok i found the issue. if you leave some definitions blank it will drop to a infinite loop.
so you must translate all definitions before submit.

but i have another error now:
Fatal errorUncaught SoapFault exception: [VersionMismatchWrong Version in F:xampphtdocsxoops255xoolatresult.php:28 Stack trace#0 F:xampphtdocsxoops255xoolatresult.php(28): SoapClient->__call('createSubmissio...', Array) #1 F:xampphtdocsxoops255xoolatresult.php(28): SoapClient->createSubmission('fastxoolat', 'fastxoolat', '// $Id: admin.p...', 29, 26, false, false) #2 {main} thrown in F:xampphtdocsxoops255xoolatresult.php on line 28


I keep testing.


Overall, I just can see one small issue.
we dont have any navigation facility. I mean i have to type the correct url of the file.


Top

irmtfan
Joined:
2003/12/7 14:14
From In the middle of nowhere
Group:
Registered Users
Community Coordinator (temporary)
Posts: 3371
(Show More) (Show Less)


#3 Posted on: 2013/2/18 5:18 Re: Fast Xoops Language Translator v.0.1
Quote:

irmtfan wrote:
very nice tool indeed.
I still cannot make it to work for me in localhost.
It keeps show me this error:
Fatal errorMaximum execution time of 30 seconds exceeded in F:/xampp/htdocs/xoops255/xoolat/result.php on line 31


I think something is wrong with my installation?
i will try more.

Edit:
ok i found the issue. if you leave some definitions blank it will drop to a infinite loop.
so you must translate all definitions before submit.

but i have another error now:
Fatal errorUncaught SoapFault exception: [VersionMismatchWrong Version in F:xampphtdocsxoops255xoolatresult.php:28 Stack trace#0 F:xampphtdocsxoops255xoolatresult.php(28): SoapClient->__call('createSubmissio...', Array) #1 F:xampphtdocsxoops255xoolatresult.php(28): SoapClient->createSubmission('fastxoolat', 'fastxoolat', '// $Id: admin.p...', 29, 26, false, false) #2 {main} thrown in F:xampphtdocsxoops255xoolatresult.php on line 28


I keep testing.


Overall, I just can see one small issue.
we dont have any navigation facility. I mean i have to type the correct url of the file.


Tnx for your info!
You can try with add the function set_time_limit(0); //(for unlimited time)
how large is the file you take the test?
In localhost I use Xampp, I'll try to do some tests on Aruba.it!!!

Try it on a remote server, I do not know if API Microsoft Translator works in localhost!

Top

angelomorto
Joined:
2006/6/30 3:06
From Barcellona
Group:
Registered Users
Posts: 48
(Show More) (Show Less)


#4 Posted on: 2013/2/18 6:46 Re: Fast Xoops Language Translator v.0.1
Quote:
Try it on a remote server, I do not know if API Microsoft Translator works in localhost!

It seems to be working OK on PHP 5.4.11 and WampServer, I am getting only this error:

Quote:
Notice: Undefined index: class in S:\wamp64\www\xoops\xoolat\translate\class\MicrosoftTranslator.class.php on line 212


Top


Please support XOOPS & DONATE
Use 2.5.7 | Debugging | Requests | Bugs
Mamba
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 8157
(Show More) (Show Less)


#5 Posted on: 2013/2/19 5:04 Re: Fast Xoops Language Translator v.0.1
Quote:

Mamba wrote:
Quote:
Try it on a remote server, I do not know if API Microsoft Translator works in localhost!

It seems to be working OK on PHP 5.4.11 and WampServer, I am getting only this error:

Quote:
Notice: Undefined index: class in S:\wamp64\www\xoops\xoolat\translate\class\MicrosoftTranslator.class.php on line 212


In /xoolat/translate.php on line 30 change whit this code:

$selectbox = array('id'=> 'txtLang','name'=>'txtLang','class'=>'');


Top

angelomorto
Joined:
2006/6/30 3:06
From Barcellona
Group:
Registered Users
Posts: 48
(Show More) (Show Less)


#6 Posted on: 2013/2/19 5:46 Re: Fast Xoops Language Translator v.0.1
This is the new correct file: xoolat.zip

Changelog:
- added set_time_limit(0)
- added class on selectBox

Notes:
In localhost verify is active the extension php_openssl.dll

Top

angelomorto
Joined:
2006/6/30 3:06
From Barcellona
Group:
Registered Users
Posts: 48
(Show More) (Show Less)


#7 Posted on: 2013/3/8 18:51 Re: Fast Xoops Language Translator v.0.1
This is the extension for Xoops 2.6.x

http://www.xoopsitalia.org/modules/ne ... at-v01-for-xoops-26x.html

Top

angelomorto
Joined:
2006/6/30 3:06
From Barcellona
Group:
Registered Users
Posts: 48
(Show More) (Show Less)







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You can vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create pdf.
You cannot get print page.

[Advanced Search]