karzina community forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

SMF - Just Installed!

Author Topic: Contribution for a french language pack  (Read 772 times)

Heilong

  • Jr. Member
  • **
  • Posts: 59
Contribution for a french language pack
« on: September 26, 2008, 02:54:28 AM »
Hi everyone,

I'm working on OCE 1.02, and actually only 2 languages pack are included in, I'd like to know if there is a French language pack that I can use for this version.

If not, I'd like to contribute for the translation, but I'm afraid to make some mistake so I'd like to have some directions.

Bye,
Logged

bruce

  • Administrator
  • Full Member
  • *****
  • Posts: 138
Re: Contribution for a french language pack
« Reply #1 on: September 27, 2008, 12:44:53 PM »
Cool,

you can download the french language pack for opencart from here and just add the new values/files for opencart-extras.
Logged

Heilong

  • Jr. Member
  • **
  • Posts: 59
Re: Contribution for a french language pack
« Reply #2 on: September 29, 2008, 01:53:42 PM »
I downlaoded the contribution "French Language (Catalog + Admin)" by "Boris Lebon", and after applying it, I discover some characters are not well interpreted.

Mostly heading title I can see some "&eacute" should be "é", so I guess there is a problem of character encoding.

If there is any fix for it, i'd like to know :)
Logged

bruce

  • Administrator
  • Full Member
  • *****
  • Posts: 138
Re: Contribution for a french language pack
« Reply #3 on: September 29, 2008, 03:21:10 PM »
In opencart-extras, you cannot put html in the language files except for a couple of locations that we still allow. Most notably, text_greeting and text_logged in home.php.
This difference is part of the html injection protection built into opencart-extras.

Instead of html codes, you should use the actual character that you want to display and it will be displayed correctly, provided that the language text file is properly saved in utf-8 character encoding.

In your example, simply replace the "&eacute" with "é" in the language files, wherever you find them.

Logged

casepoth

  • Newbie
  • *
  • Posts: 5
Re: Contribution for a french language pack
« Reply #4 on: June 17, 2009, 11:32:25 AM »
What ever became of this translation effort? I would love to se a French Lang Pak!
Logged

bruce

  • Administrator
  • Full Member
  • *****
  • Posts: 138
Re: Contribution for a french language pack
« Reply #5 on: June 17, 2009, 12:14:00 PM »
We never got a copy from Heilong. I will try to contact him to get it.
Logged