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: May 31
Gross Amount: $65.00
Net Balance: $61.80
Left to go: $38.20

Donations
studioC  ($25)May-17
Anonymous ($15)May-16
Anonymous ($25)May-4

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

2 2.5 2.5.5 2.6 3.0 90 2013 Abuse alimento AntiHarvesting AntiMalUser AntiSpam API ASP Beats billige black Blocks blue Bytes Captcha cell Christmas chronolabs Client content Conversion demo docek download Dresses editor Elastic ELB evden eve Evening facebook floor free games herre Honeypot Human IP jQuery kantor Karaoke lamps log logger mobile module modules Monster MyAlbum-p nakliyat newbb news online oxygen PageRank Permissions pink Plugin portal Prevention profile project Protector publisher Rights rmcommon Room sale security Server site Smarty Spam SQL stem StopForumSpam Studio support tag tags tdmcreate Theme themes Twitter txmod User userlog website Whitepaper xoops XOOPS2 Xortify ZendFramework

New Users

Registering user

# 136023

qinxian123

Welcome to XOOPS!




Bottom   Previous Topic   Next Topic  Register To Post



#1 Posted on: 2011/10/13 14:28 Blank pages with croatian translation
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?

Top


Croatian Xoops support site:
www.xoopshr.org
Lowcost linux hosting:
www.adpgroup.hr
sadistiko
Friend of XOOPS
Friend of XOOPS
Joined:
2004/12/13 4:09
From Petrinja, Croatia, Europe
Group:
Registered Users
Posts: 456
(Show More) (Show Less)


#2 Posted on: 2011/10/13 17:40 Re: Blank pages with croatian translation
hi'

Have you tried to active Debug mode before to login ?

Top


Still learning CSS and... english
Burning
Theme Designer
Theme Designer
Joined:
2006/8/22 14:44
Group:
Registered Users
Repository Group
Posts: 1111
(Show More) (Show Less)


#3 Posted on: 2011/10/13 18:50 Re: Blank pages with croatian translation
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

Top


Croatian Xoops support site:
www.xoopshr.org
Lowcost linux hosting:
www.adpgroup.hr
sadistiko
Friend of XOOPS
Friend of XOOPS
Joined:
2004/12/13 4:09
From Petrinja, Croatia, Europe
Group:
Registered Users
Posts: 456
(Show More) (Show Less)


#4 Posted on: 2011/10/13 19:46 Re: Blank pages with croatian translation
hi'

Happy to see you have found a bug, no xTransam developer is aware

Personally, when I translated a module, I plugged a second monitor. It is very fast and reliable enough

Top


Still learning CSS and... english
Burning
Theme Designer
Theme Designer
Joined:
2006/8/22 14:44
Group:
Registered Users
Repository Group
Posts: 1111
(Show More) (Show Less)


#5 Posted on: 2011/10/13 20:36 Re: Blank pages with croatian translation
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.

Top


Croatian Xoops support site:
www.xoopshr.org
Lowcost linux hosting:
www.adpgroup.hr
sadistiko
Friend of XOOPS
Friend of XOOPS
Joined:
2004/12/13 4:09
From Petrinja, Croatia, Europe
Group:
Registered Users
Posts: 456
(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 cannot 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]