41
sadistiko
Re: xTRANSAM
  • 2011/11/4 22:28

  • sadistiko

  • Friend of XOOPS

  • Posts: 477

  • Since: 2004/12/13


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

42
wishcraft
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/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts

43
sadistiko
Re: xTRANSAM
  • 2011/11/4 23:32

  • sadistiko

  • Friend of XOOPS

  • Posts: 477

  • Since: 2004/12/13


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

44
sadistiko
Re: xTRANSAM
  • 2011/11/4 23:42

  • sadistiko

  • Friend of XOOPS

  • Posts: 477

  • Since: 2004/12/13


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

45
sadistiko
Re: xTRANSAM - new feature request
  • 2011/11/5 5:19

  • sadistiko

  • Friend of XOOPS

  • Posts: 477

  • Since: 2004/12/13


...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

46
Mamba
Re: xTRANSAM - new feature request
  • 2011/11/5 7:18

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


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

47
sadistiko
Re: xTRANSAM
  • 2011/11/5 9:01

  • sadistiko

  • Friend of XOOPS

  • Posts: 477

  • Since: 2004/12/13


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

48
timgno
Re: xTRANSAM
  • 2011/11/6 11:42

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


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.

49
sadistiko
Re: xTRANSAM
  • 2011/11/7 1:10

  • sadistiko

  • Friend of XOOPS

  • Posts: 477

  • Since: 2004/12/13


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

50
wishcraft
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/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts

Login

Who's Online

211 user(s) are online (103 user(s) are browsing Support Forums)


Members: 0


Guests: 211


more...

Donat-O-Meter

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

Latest GitHub Commits