VirtueMart Forum

VirtueMart 2 + 3 + 4 => Language/Translations => Topic started by: cmatte on December 24, 2011, 10:22:02 AM

Title: Php version decision: breaks language
Post by: cmatte on December 24, 2011, 10:22:02 AM
Hi.
I'm trying to develop a web shop with vm 2.0.0 in Italian language.
I am still deciding if running it with php 5.3.8 or php 5.2.17. My hoster advices me to use 5.2.17 with cms' and so on. I was initially trying to use 5.3.8, with output_buffering = Off    configuration.
Switching to 5.2.17 (both with default or Joomla specific configuration) makes the italian translation disappear in name of a fully english VirtueMart, even if I still see the (same) debug messages:
vmdebug self::$_jpConfig->lang it_it
vmdebug vmTime: loadConfig db no: 0.0041209715270996
What's the version I should use?
Why do I have the language problem with 5.2.17?
Thanks!
Title: Re: Php version decision: breaks language
Post by: jjk on December 24, 2011, 11:56:06 AM
Perhaps it is not the php version, but this problem: http://forum.virtuemart.net/index.php?topic=95254.msg312660#msg312660 (http://forum.virtuemart.net/index.php?topic=95254.msg312660#msg312660)
If it's actually the php version, I have no idea why it causes your problem.
Title: Re: Php version decision: breaks language
Post by: cmatte on December 24, 2011, 12:34:09 PM
I had read that thread.
It speaks about malformed language files from the Italian team.
I've not verified but I've just taken the latest trunk files to be sure.
In the meantime I thought that if they seem to be ok with another php version, and no debugging error is printed, they should be definitively ok.
Anyway, is it ok to stay with 5.3.8? What version was used for developing and testing?
Title: Re: Php version decision: breaks language
Post by: jjk on December 24, 2011, 13:53:34 PM
I haven't seen the updated italian language file yet. The one in the trunk is still the old one containing those characters which are illegal in Joomla 1.7.x
Concerning php, it was tested on 5.2 and 5.3. I don't know if some of the testers used 5.3.8. My own installation still runs on 5.3.1.
Title: Re: Php version decision: breaks language
Post by: cmatte on December 24, 2011, 13:57:28 PM
Oh, sorry, thought it was updated there.
Strange that characters not allowed still work here with the newest php. I will stay with it if the same base was tested there, I haven't found any disadvantage yet!
Thanks for your help and merry Christmas  ;)