xoops forums

sadistiko

Friend of XOOPS
Posted on: 2011/11/4 22:28
sadistiko
sadistiko (Show more)
Friend of XOOPS
Posts: 477
Since: 2004/12/13
#41

Re: xTRANSAM

Thanks Simon.
Now it looks all ok.
I'll try to translate 2.5.3 this weekend with this module.
Croatian Xoops support site:
www.xoopshr.org
Lowcost linux hosting:
www.adpgroup.hr

wishcraft

Module Developer
Posted on: 2011/11/4 23:22
wishcraft
wishcraft (Show more)
Module Developer
Posts: 3711
Since: 2007/5/18
#42

Re: xTRANSAM

np mate, thanks for the bug report and being patient with me to find time to get to it... You may want to translate Xortify and XPayment as well so i can put them on the SVN, there will be at this stage no more planned versions of these two as they are at the end of their SDLC any other features are doable by other modules interacting with these or altered using the plugin systems.
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/SimonXaies
github.com/Chronolabs-Cooperative
facebook.com/SimonSXaies

sadistiko

Friend of XOOPS
Posted on: 2011/11/4 23:32
sadistiko
sadistiko (Show more)
Friend of XOOPS
Posts: 477
Since: 2004/12/13
#43

Re: xTRANSAM

Can do after I make translation of Xoops 2.5.4
Croatian Xoops support site:
www.xoopshr.org
Lowcost linux hosting:
www.adpgroup.hr

sadistiko

Friend of XOOPS
Posted on: 2011/11/4 23:42
sadistiko
sadistiko (Show more)
Friend of XOOPS
Posts: 477
Since: 2004/12/13
#44

Re: xTRANSAM

If you want you can in next release fix this minor bug

Resized Image


There is wrong url for this image

http://xoops.adpgroup.hr/http://xoops.adpgroup.hr/Frameworks/moduleclasses/icons/32/xoopsmicrobutton.gif
Croatian Xoops support site:
www.xoopshr.org
Lowcost linux hosting:
www.adpgroup.hr

sadistiko

Friend of XOOPS
Posted on: 2011/11/5 5:19
sadistiko
sadistiko (Show more)
Friend of XOOPS
Posts: 477
Since: 2004/12/13
#45

Re: xTRANSAM - new feature request

...and now when it look all works as you intend I found one big shortage in this module.
This is great tool for the first time translation, but when I already have last version ox core/module allready translated what can I do?
I have two options:
I can use automatic translation and again manualy correct (for croatian around 80%) of error it made.
Second option is to manualy again translate all files (or copy/paste old version translation from some editor that is also time consuming).
No other options...
I would like to see some import option from older version of translation and I can only add translations for new strings from newer version of translation files. That would accelerate translation for newer version by 99%.
Please Simon, can you do something about that?
Croatian Xoops support site:
www.xoopshr.org
Lowcost linux hosting:
www.adpgroup.hr

Mamba

Moderator
Posted on: 2011/11/5 7:18
Mamba
Mamba (Show more)
Moderator
Posts: 10952
Since: 2004/4/23
#46

Re: xTRANSAM - new feature request

Sadistiko, can you do me a favor and install xPayment, and tell me what do you see in xTransAm dashboard?

On my Website I see the icons from xPayment, instead of xTransAm, even if I cleared Cache:

Resized Image


When I uninstall xPayment, then xTransAm looks OK again.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

sadistiko

Friend of XOOPS
Posted on: 2011/11/5 9:01
sadistiko
sadistiko (Show more)
Friend of XOOPS
Posts: 477
Since: 2004/12/13
#47

Re: xTRANSAM

Yep Mamba, I also have same side effect like you. After uninstall all are back as it was before.

I found some other bugs in xTRANSAM.

_MA_USER_RANGE_LAST_LOGIN EnglishLogged in past Xdays


this is from xTRANSAM and this is original string:

define('_MA_USER_RANGE_LAST_LOGIN''Logged in past <span style='color:#ff0000;'>X</span>days');


Also somewhere I found that xTRANSAM display real hyperlink instead code for link.

Another problem I found.
But this one is real problem.
All files xTRANSAM made is in ANSI format instead ANSI as UTF-8. So all files are unreadable with some editor because strings looks like this:

define("_MA_USER_ACTUS""Aktivnih&#160;korisnika&#58&#59;&#160;&#38&#59;#37&#59;s");
define("_MA_USER_INACTUS""Neaktivnih&#160;korisnika&#58&#59;&#160;&#38&#59;#37&#59;s");


instead this.

define('_MA_USER_ACTUS''Aktivnih korisnika: %s');
define('_MA_USER_INACTUS''Neaktivnih korisnika: %s');


It looks I'll be back to my old kind of translation with BeyonCompare program.
Croatian Xoops support site:
www.xoopshr.org
Lowcost linux hosting:
www.adpgroup.hr

timgno

Module Developer
Posted on: 2011/11/6 11:42
timgno
timgno (Show more)
Module Developer
Posts: 1504
Since: 2007/6/21
#48

Re: xTRANSAM

Simon!

In future versions you can create a condition of regular expression to exclude characters such as: '=', '.', ',', '!', '{', '}', '(', ')', etc. and digit value that you use all those in the original language.

sadistiko

Friend of XOOPS
Posted on: 2011/11/7 1:10
sadistiko
sadistiko (Show more)
Friend of XOOPS
Posts: 477
Since: 2004/12/13
#49

Re: xTRANSAM

Simon you should continue to write here, not in news module comment.
ANSI is not accessible.

Quote:
For 2.5.x we would like to focus UTF-8 translations. You can save the ISO file as UTF-8 file using notepad++, but make sure that you select in "Format" menu, the "Convert to UTF-8 without BOM" option.


So this is ANSI as UTF-8 (as it sais my Notepad++)
Croatian Xoops support site:
www.xoopshr.org
Lowcost linux hosting:
www.adpgroup.hr

wishcraft

Module Developer
Posted on: 2011/11/7 17:07
wishcraft
wishcraft (Show more)
Module Developer
Posts: 3711
Since: 2007/5/18
#50

Download: xTRANSAM 1.20

i DON'T know why timgo added a ansi converter now you show me the results, you know in a community effort I have removed it from the neat version it is now in if he wished to study it.

Anyway Introducing X-Transam 1.20 - The None Ansi Version..

Line 91 and 116 & 117 of admin/index.php to stop the ansi converstion of timgo.
//Around Line 91
// Changed by Chronolabs - Removed Code by Timgo - ansi conversion - 08/11/2011
//include($GLOBALS['xoops']->path('modules'.DS.'xtransam'.DS.'include'.DS.'charset_utf-8.php'));

//Around Line 116
// Changed by Chronolabs - Removed Code by Timgo - ansi conversion - 08/11/2011
// foreach($GLOBALS['charset_utf8'] as $search => $replace)
      // $translation = str_replace($search, $replace, $translation);


You can download this and a few other changes view the change log:


System Requirements:
  • XOOPS 2.5.x
  • XOOPS 2.6.x


Bug Fixes:
  • Ansi converter Removed - code edition timgo
  • Bing not selected in SQL Statement
  • Providers Not Selectable in Language Matrix
  • Imported language output
  • Google API Provider - Array Postion of Translated Text
  • Google API Provider - Array Position of Error Code & Message


Download: xoops2.5_xtransam_1.20.zip - 110Kb
Mirror: xoops2.5_xtransam_1.20.zip - 110Kb
Demo: http://xoops.demo.chronolabs.coop
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/SimonXaies
github.com/Chronolabs-Cooperative
facebook.com/SimonSXaies