1
wishcraft
xTransam - New Chronolabs API to be Implemented

Notabily something I have found is the length of time it takes to poll translation api's, my solution to this was to build : https://translator.labs.coop/ - The Chronolabs Translation API.

This stores translations and can be passed a storage token which for a module would be something like for xtransam as a module as md5('xoops-module-xtransam') - so that if someone else has ran for the translation your after; it will retrieve it from the cache for upto 24 months from the initial translations rather than having to wait to poll google, bing or mymemory.

This uses a file storage method not a database with similar classes to the cache class that comes with XOOPS - this is cause flat files are always much quicker than using a Database store and more manageable on mass.

In the next few weeks I will update xTransam, to this API for it provider methods this is so we eventually have fast and quick translations stored in the cache on this API. I will then after making a new Major Version of xTransam, looks too see if the language files have been finalised for XOOPS 2.6 and make a version for this as well.

I will post a thread here when both are complete!

Thanks

Simon - wishcraft/mynamesnot

2
Cesagonchu
Re: xTransam - New Chronolabs API to be Implemented

Thanks in advance, for your work

3
wishcraft
xTransam 2.01 - RC to Stable for Confirmation

xTransam 2.01
Chronolabs Cooperative release

Release Notes:

I have decided to remake xTransam to a new major version of 2.0, this now uses the gateway https://translator.labs.coop to do the translation which stores a 24 month long cache on translations so they only need to be asked for once from the symbiotic translation api's, otherwise it will tell you the translation from the Gateways cache which will include a faster response being a file store not a database store.

New Features Include:

  • Theme Language Support
  • Providers to use
  • Order of Providers to use


Testing Notice & Bug Report:

Please post your bugs on Chronolabs Soureforge Tickets - This is currently for XOOPS 2.5 only (Still waiting for language types to be solidified for XOOPS 2.6 before conversion).

Download: xoops2.5_xtransam_2.01.zip - 105Kb


[size=xx-small]Mamba: Publish new on this if you like I will email you the xcode for it - bit disheartened to go near the module seeming none of my news has been published for over a year while on holidays[/size]

4
killraven
Re: xTransam 2.01 - RC to Stable for Confirmation
  • 2014/11/11 16:23

  • killraven

  • Just popping in

  • Posts: 6

  • Since: 2008/10/1


Hi,
I installed this module on one of my xoops site (2.5.6) but cannot get any translation. I tried to translate some modules, but the auto-translate does not work. I see files into the new directory and I can manually insert translations but that's all. I have enabled also debug mode but no error rises.

I tried also to use only a single transaltion engine but no change.

Any hint?

thx
Paolo

5
killraven
Re: xTransam 2.01 - RC to Stable for Confirmation
  • 2014/11/11 21:03

  • killraven

  • Just popping in

  • Posts: 6

  • Since: 2008/10/1


tried also previous version 1.2... no translation

6
Mamba
Re: xTransam 2.01 - RC to Stable for Confirmation
  • 2014/11/11 22:13

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Tell us more about the way you're doing it - what steps are taking?
What modules are you trying to work on?
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

7
killraven
Re: xTransam 2.01 - RC to Stable for Confirmation
  • 2014/11/11 22:40

  • killraven

  • Just popping in

  • Posts: 6

  • Since: 2008/10/1


Hi,
I've tried several modules also xtrasam itself. I think there is something not working with the call to bing or other translation api.

I tried also using bing (I request an api key)

my configuration is the following:

XOOPS Version XOOPS 2.5.6
PHP Version 5.4.4-14+deb7u12
mySQL Version 5.5.38-0+wheezy1-log

I have also verified that when i use the "auto-translate" function, an empty string is written into the db.

thx
Paolo

8
killraven
Re: xTransam 2.01 - RC to Stable for Confirmation
  • 2014/11/11 23:18

  • killraven

  • Just popping in

  • Posts: 6

  • Since: 2008/10/1


Using version 1.2 I have done the following steps:
1) translation wizard: module language
2) xoopstube (one of several modules)
3) send (the system path english is correct)
4) language to translate to: italian
5) send
6) do translation: file base analysis
7) import file base
8) auto translate
- no data into the translate column of the db
9) build file base (file are generated but no translation)
10) edit/manage translation (I can set manually the translation...)

Paolo

9
Mamba
Re: xTransam 2.01 - RC to Stable for Confirmation
  • 2014/11/12 13:43

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


I'll try to look into it this weekend, unless somebody could do it earlier....
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

Login

Who's Online

324 user(s) are online (258 user(s) are browsing Support Forums)


Members: 0


Guests: 324


more...

Donat-O-Meter

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

Latest GitHub Commits