61
sadistiko
Re: Blank pages with croatian translation
  • 2011/10/14 1:36

  • sadistiko

  • Friend of XOOPS

  • Posts: 477

  • Since: 2004/12/13


Well, before 2.5.1 I used Beyond compare. It is really good for compare and translation. But i found problem with captcha and wrote about it here. Never found where I made syntax error so I decided, after Mamba recommend me xTRANSAM, to try some "better" tools for translation. I was hoping it will produce 100% error free syntax, but I was wrong. First it has bugs because it rely to Google API witch made some changes to how it works, so xTRANSAM is almost useless, and beside this it made errors I found today. So, it looks I will go back to Beyond compare and do it manualy as I did before.
Croatian Xoops support site:
www.xoopshr.org
Lowcost linux hosting:
www.adpgroup.hr



62
sadistiko
Re: Blank pages with croatian translation
  • 2011/10/13 23:50

  • sadistiko

  • Friend of XOOPS

  • Posts: 477

  • Since: 2004/12/13


When I tried to logout I get this error:
Parse errorsyntax errorunexpected T_STRING in /home/adpgroup/public_html/xoops/language/hrvatski/user.php on line 8


And yes there is really error:

define("_US_NOTREGISTERED""Niste registrirani? Kliknite <a href="); define("_US_LOSTPASSWORD""Izgubili ste lozinku?");


English version is:

define('_US_NOTREGISTERED''Not registered?  Click <a href="register.php">here</a>.');
define('_US_LOSTPASSWORD''Lost your Password?');


I fixed this to:

define("_US_NOTREGISTERED""Niste registrirani? Kliknite <a href="register.php">ovdje</a>.");
define("_US_LOSTPASSWORD""Izgubili ste lozinku?");


but still get error:

Parse error: syntax error, unexpected T_STRING in /home/adpgroup/public_html/xoops/language/hrvatski/user.php on line 7

Only diference from english and xTRANSAM translation is that english version use ' and xtransam ", so there is maybe coallision with " from a href in that string. But this is then bug in xTRANSAM nothing else.

Yep, and after I manually changed " to ' and now is:

define('_US_NOTREGISTERED''Niste registrirani? Kliknite <a href="register.php">ovdje</a>.');
define("_US_LOSTPASSWORD""Izgubili ste lozinku?");


Now it works.
So question is why xTRANSAM actually change ' to " and who can fix this module?

I don't need to say now that every a href in strings now doesn't work and proccess error of same kind.
So, if you will fix xtransam module (which is quite good tool for translation) or you stop promote this module as translation tool. I hope you will fix it
Croatian Xoops support site:
www.xoopshr.org
Lowcost linux hosting:
www.adpgroup.hr



63
sadistiko
Blank pages with croatian translation
  • 2011/10/13 19:28

  • sadistiko

  • Friend of XOOPS

  • Posts: 477

  • Since: 2004/12/13


As I now working on new translation for 2.5.3 with xTRANSAM, and have some problems with that module, I succed to make translation for core with it (Automaticlly) and I have this strange problem as I had before with my old translations I made with other program.
As I was sure there must be some error in my syntax in translatated files, now I see there is some other problem.
I made translations with xTRANSAM only and when I try to logout (in croatian) I got blank page. Also, when I try with croatian (hrvatski) language open registration page I also got blank page.
I'm not sure if this is bug with Xoops core because I can't translate all files via xTRANSAM.
But everithing work fine when I switch back to english again.
Is there some similar problems with other translation?
Croatian Xoops support site:
www.xoopshr.org
Lowcost linux hosting:
www.adpgroup.hr



64
sadistiko
Re: XOOPS 2.5.x Translations
  • 2011/10/13 14:36

  • sadistiko

  • Friend of XOOPS

  • Posts: 477

  • Since: 2004/12/13


We need help here with latest xTRANSAM 1.12 version. So dev of this module please read what is newest problem with Google API and give as oportunity to use this nice module.
Croatian Xoops support site:
www.xoopshr.org
Lowcost linux hosting:
www.adpgroup.hr



65
sadistiko
Re: xTRANSAM
  • 2011/10/13 14:31

  • sadistiko

  • Friend of XOOPS

  • Posts: 477

  • Since: 2004/12/13


Quote:

Dante7237 wrote:
Quote:

sadistiko wrote:
Quote:

timgno wrote:
default max_execution_time is set to 60 you can set it 3600 or high in php.ini file




The max execution time setting has a danger of allowing a certain kind of DoS attack if the setting is too high. Mine is set at "30".


We were talking about local server (for testing only), so no possibilities of any kind of attack there.
Croatian Xoops support site:
www.xoopshr.org
Lowcost linux hosting:
www.adpgroup.hr



66
sadistiko
Re: xTRANSAM
  • 2011/10/13 7:25

  • sadistiko

  • Friend of XOOPS

  • Posts: 477

  • Since: 2004/12/13


Quote:

timgno wrote:
default max_execution_time is set to 60 you can set it 3600 or high in php.ini file


BTW, this didn't help, so it all must be related to new practice on google API.
IF someone cen fix this on xTRANSAM it would be great for all Xoops translators.
Only if we would have option to use automatic translation or not. So if we see that automatic doesn't work we can switch to manual and build files with this module.
Croatian Xoops support site:
www.xoopshr.org
Lowcost linux hosting:
www.adpgroup.hr



67
sadistiko
Re: xTRANSAM
  • 2011/10/12 23:03

  • sadistiko

  • Friend of XOOPS

  • Posts: 477

  • Since: 2004/12/13


..or give us option for automatic and not automatic translation. But what is point of automatic translation when it does not work?
Croatian Xoops support site:
www.xoopshr.org
Lowcost linux hosting:
www.adpgroup.hr



68
sadistiko
Re: xTRANSAM
  • 2011/10/12 22:36

  • sadistiko

  • Friend of XOOPS

  • Posts: 477

  • Since: 2004/12/13


Who made this module? Why not just disable automatic translation?
I don't need it. It's anyway useless for croatian translations
Croatian Xoops support site:
www.xoopshr.org
Lowcost linux hosting:
www.adpgroup.hr



69
sadistiko
Re: xTRANSAM
  • 2011/10/10 22:33

  • sadistiko

  • Friend of XOOPS

  • Posts: 477

  • Since: 2004/12/13


Thanks, I'll try on my local WAMP
Croatian Xoops support site:
www.xoopshr.org
Lowcost linux hosting:
www.adpgroup.hr



70
sadistiko
Re: xTRANSAM
  • 2011/10/10 16:57

  • sadistiko

  • Friend of XOOPS

  • Posts: 477

  • Since: 2004/12/13


Maybe I can localy, but I wanna work on some online server where I don't have access to those settings.
BTW, how to set parameters for long translations on local server?
Croatian Xoops support site:
www.xoopshr.org
Lowcost linux hosting:
www.adpgroup.hr




TopTop
« 1 ... 4 5 6 (7) 8 9 10 ... 30 »



Login

Who's Online

307 user(s) are online (173 user(s) are browsing Support Forums)


Members: 0


Guests: 307


more...

Donat-O-Meter

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

Latest GitHub Commits