Author Topic: Problem with French translation > all "é-è-à-ç" are display "?"  (Read 10527 times)

apriol68

  • Beginner
  • *
  • Posts: 5
Hi!

I download the last version of joomla (1.5.8 ) and installed it on a pro webhosting (www.ovh.fr). That works perfectly.

I download the last version of virtuemart and installed it with the legacy mode and that works perfectly.

I download the langage pack, upload it and that works but all of specials characters are display "?".


I opened /admin/french.php to look inside (with notepad++) and see, even in notepad++ all of é-è-à-ç are display []. I used the tool find & replace > find [] and replace with é. Execute, save, upload by FTP and that's ok in my administration.

Have you a solution or is it a bug in the french translation ?


Pisu

  • Moderator
  • Jr. Member
  • *
  • Posts: 451
  • ..still looking for..
    • Blog di Stefano Bagnatica
Re: Problem with French translation > all "é-è-à-ç" are display "?"
« Reply #2 on: December 20, 2008, 22:12:57 pm »
It seems to be a bug of french translation. I'm confirming it in languages/admin/french.php, but maybe in other files...

Please, if you can fix the file, but NOT using HTML entities (e.g. "é"), instead with normal letters (e.g. "è"). The encoding is automatically done if needed, by the VirtueMart language System.

Then, please post here the fixed files, that will be included in  next release.
Pisu - Team VMItalia (Supporto Italiano VirtueMart)
www.stefanobagnatica.it | www.vmitalia.net

apriol68

  • Beginner
  • *
  • Posts: 5
Re: Problem with French translation > all "é-è-à-ç" are display "?"
« Reply #3 on: December 22, 2008, 09:20:04 am »
Hello!

It's a good news.. I try to fix the file with HTML entities so, apparently it's not good.. I'll wait for the next version of the french translation pack :)

Pisu

  • Moderator
  • Jr. Member
  • *
  • Posts: 451
  • ..still looking for..
    • Blog di Stefano Bagnatica
Re: Problem with French translation > all "é-è-à-ç" are display "?"
« Reply #4 on: December 22, 2008, 22:30:33 pm »
I'm not sure if some is still working on it... Any help is really useful!
Pisu - Team VMItalia (Supporto Italiano VirtueMart)
www.stefanobagnatica.it | www.vmitalia.net

photo-peinture

  • Beginner
  • *
  • Posts: 6
Re: Problem with French translation > all "é-è-à-ç" are display "?"
« Reply #5 on: December 29, 2008, 22:25:24 pm »
Hey guys,
Just to answer Pisu's remark:
Quote
Please, if you can fix the file, but NOT using HTML entities (e.g. "é"), instead with normal letters (e.g. "è"). The encoding is automatically done if needed, by the VirtueMart language System.
Unfortunately, it seems not to be working.
Example:
At first, the security tab looked like this (original upload of the french.php file):

Then, I replaced the missing caracter by "é" in the .php file, and it turned out like this:

But if I use the encoding "é" , it works fine:

I'm going to go through the whole admin file and will submit it if needed.
EDIT: I have done the whole modification of the french.php file for the "admin" folder: http://rapidshare.com/files/177965811/french.php.html  Working fine on my website.

Pisu

  • Moderator
  • Jr. Member
  • *
  • Posts: 451
  • ..still looking for..
    • Blog di Stefano Bagnatica
Re: Problem with French translation > all "é-è-à-ç" are display "?"
« Reply #6 on: January 02, 2009, 13:40:39 pm »
I think that actually the french files are misencoded. The charset parameter is:

   'CHARSET' => 'ISO-8859-15',

But, files seems to be in utf-8. So, you should change the file charset to ISO-8859-15, or edit the charset line to:

   'CHARSET' => 'UTF-8',

It's not a good thing to use HTML entities in language files, because if the string is used in Javascript (for example in Alert messages), it will be show wrongly.
Pisu - Team VMItalia (Supporto Italiano VirtueMart)
www.stefanobagnatica.it | www.vmitalia.net

photo-peinture

  • Beginner
  • *
  • Posts: 6
Re: Problem with French translation > all "é-è-à-ç" are display "?"
« Reply #7 on: January 03, 2009, 14:35:45 pm »
Ok, I'll have a look at that. Thanks for your feedback ;).

Nobill

  • Beginner
  • *
  • Posts: 1
Re: Problem with French translation > all "é-è-à-ç" are display "?"
« Reply #8 on: January 12, 2009, 22:39:41 pm »
I correct the admin/french.php file. If someone can verify if it works (works for me on linux).

Updated : I check my file on my webhoster (OVH), and it works.

[attachment cleanup by admin]

Pisu

  • Moderator
  • Jr. Member
  • *
  • Posts: 451
  • ..still looking for..
    • Blog di Stefano Bagnatica
Re: Problem with French translation > all "é-è-à-ç" are display "?"
« Reply #9 on: January 14, 2009, 22:44:01 pm »
Thanks, this is ok for me. Updated in SVN; I converted all French language Pack to UTF-8; however will be all transparent to users, as conversion is automatic. I think the time is ready for UTF-8 conversion, as Joomla 1.5 is widely used with VM 1.1.
Pisu - Team VMItalia (Supporto Italiano VirtueMart)
www.stefanobagnatica.it | www.vmitalia.net

gourky

  • Beginner
  • *
  • Posts: 3
Re: Problem with French translation > all "é-è-à-ç" are display "?"
« Reply #10 on: January 15, 2009, 20:31:08 pm »
Hello,

I have installed language pack and still have problems with [administrator\components\com_virtuemart\languages\admin\french.php]

Still showing [G�n�ral] for every accentuated characters. Ultraedit editor showned that the file was saved in utf-8 but in unicode style: hexadump = [ÿþ<.?.p.h.p...i.] etc.

gourky

  • Beginner
  • *
  • Posts: 3
Re: Problem with French translation > all "é-è-à-ç" are display "?"
« Reply #11 on: January 15, 2009, 20:42:45 pm »
I've just have a look to other files in french and other languages. Files seems all to be encoded in ascii. Does virtueMart support UTF-8 ?

Pisu

  • Moderator
  • Jr. Member
  • *
  • Posts: 451
  • ..still looking for..
    • Blog di Stefano Bagnatica
Re: Problem with French translation > all "é-è-à-ç" are display "?"
« Reply #12 on: January 15, 2009, 21:46:12 pm »
Hello,
I have installed language pack and still have problems with [administrator\components\com_virtuemart\languages\admin\french.php]
Still showing [G�n�ral] for every accentuated characters. Ultraedit editor showned that the file was saved in utf-8 but in unicode style: hexadump = [ÿþ<.?.p.h.p...i.] etc.

Please note that I made the update in SVN; so you must wait for next release (very soon I think) to have this updates in official package.

Or, you can try nightly build...
Pisu - Team VMItalia (Supporto Italiano VirtueMart)
www.stefanobagnatica.it | www.vmitalia.net

Pisu

  • Moderator
  • Jr. Member
  • *
  • Posts: 451
  • ..still looking for..
    • Blog di Stefano Bagnatica
Re: Problem with French translation > all "é-è-à-ç" are display "?"
« Reply #13 on: January 15, 2009, 21:46:58 pm »
I've just have a look to other files in french and other languages. Files seems all to be encoded in ascii. Does virtueMart support UTF-8 ?

Yes
Pisu - Team VMItalia (Supporto Italiano VirtueMart)
www.stefanobagnatica.it | www.vmitalia.net