Get XOOPS XOOPSXOOPS FAQFAQ ForumsForums NewsNews ThemesThemes ModulesModules
New Posts New Topics All Posts All Forums Index General Modules Themes Development International XOOPS.org

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: Jun 30
Gross Amount: $25.00
Net Balance: $23.57
Left to go: $76.43

Donations
Anonymous ($15)Jun-14
Anonymous ($10)Jun-10

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

2 2.5 2.6 3.0 87 2013 Abuse admin AntiHarvesting AntiMalUser AntiSpam API bags Beats billige black Blocks blue Bootstrap Captcha cell Christmas chronolabs content Conversion demo docek download Dresses editor evden eve facebook floor free herre Honeypot Human IP IPInfoDB jQuery kantor lamps Language log logger Lucire mobile module modules Monster mulberry MyAlbum-p newbb news online PageRank pandora Password Permissions pink Plugin portal preloader Prevention profile project propose Protector publisher Rights rmcommon Room Rotor sale security Server site SmartClone Smarty SOAP Songlist Spam stem Studio tag tags tdmcreate template Theme themes TinyMCE User userlog website Whitepaper Wishcraft xoops Xortify ZendFramework

New Users

Registering user

# 136113

metalgearxd

Welcome to XOOPS!

Tags: Fast   XooLaT   Xoops   Language   Translator  



Bottom   Previous Topic   Next Topic  Register To Post



#1 Posted on: 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:
Click to see original Image in a new window


Click to see original Image in a new window


Click to see original Image in a new window


Click to see original Image in a new window


Click to see original Image in a new window


Top

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


#2 Posted on: 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
Module Developer
Module Developer
Joined:
2003/12/7 14:14
From In the middle of nowhere
Group:
Registered Users
Community Coordinator (temporary)
Posts: 3329
(Show More) (Show Less)


#3 Posted on: 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
Just popping in
Just popping in
Joined:
2006/6/30 3:06
From Barcellona
Group:
Registered Users
Posts: 46
(Show More) (Show Less)


#4 Posted on: 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.6 | Debugging | Requests | Bugs
Mamba
Moderator
Moderator
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 7026
(Show More) (Show Less)


#5 Posted on: 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
Just popping in
Just popping in
Joined:
2006/6/30 3:06
From Barcellona
Group:
Registered Users
Posts: 46
(Show More) (Show Less)


#6 Posted on: 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
Just popping in
Just popping in
Joined:
2006/6/30 3:06
From Barcellona
Group:
Registered Users
Posts: 46
(Show More) (Show Less)


#7 Posted on: 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
Just popping in
Just popping in
Joined:
2006/6/30 3:06
From Barcellona
Group:
Registered Users
Posts: 46
(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.

[Advanced Search]