locale problem

Gesperrt
ilias
Beiträge: 90
Registriert: Di 13. Nov 2007, 11:49
Wohnort: Greece
Kontaktdaten:

locale problem

Beitrag von ilias »

Dear Friends,
happy new year to everybody.
I am very sorry that i am writing in English language but in section English forum has not contenido version 4.8.
I am trying to put greek language.
i made the locale\el_GR\LC_MESSAGES\contenido.po file at utf-8
xml/lang_el_GR.xml at utf-8

but i the letters are not the appropriate. it looks strange.
i tried for iso-8859-7 that it is the greek encode and the message that appear is that contenido does not support this encoding.
i would like to support the greek encoding iso-8859-7

i had already translate at poedit , contenido.

What can i do to fix it???
i want to have it also in greek language

Best Regards
ILIAS
Oldperl
Beiträge: 4316
Registriert: Do 30. Jun 2005, 22:56
Wohnort: Eltmann, Unterfranken, Bayern
Hat sich bedankt: 6 Mal
Danksagung erhalten: 4 Mal
Kontaktdaten:

Re: locale problem

Beitrag von Oldperl »

:!: moved to Misc, it's no Tipp or Trick.

Hello Ilias,

if you have greek po-files for Contenido it would be nice if you to post them here as zip-file, so somebody can check out that behaviour.
Also we may add greek language to next version of Contenido.
Did you already translate po-files in plugins folder too?

Maybe you can give me an example with correct result and wrong result as screenshot, so i will test it. I can't speak greek, but if i'll have a picture, i'm able to test it. thx.

Regards from Franken/germany

Ortwin
ConLite 3.0.0-dev, alternatives und stabiles Update von Contenido 4.8.x unter PHP 8.x - Download und Repo auf Gitport.de
phpBO Search Advanced - das Suchwort-Plugin für CONTENIDO 4.9
Mein Entwickler-Blog
ilias
Beiträge: 90
Registriert: Di 13. Nov 2007, 11:49
Wohnort: Greece
Kontaktdaten:

Re: locale problem

Beitrag von ilias »

If you may add greek language to next version, when will be??
If it is probably soon, i shall wait. If not i send the .po file at you.

Happy new year
Oldperl
Beiträge: 4316
Registriert: Do 30. Jun 2005, 22:56
Wohnort: Eltmann, Unterfranken, Bayern
Hat sich bedankt: 6 Mal
Danksagung erhalten: 4 Mal
Kontaktdaten:

Re: locale problem

Beitrag von Oldperl »

Hello ilias,

i think you missunderstood what i wanna say. If you'll post your .po files here, i will try to add them to next Contenido version.
I can't tell you when Contenido will be released next time, only 4fb knows. :-)

Also i need this .po files to follow your first post and to check out if this is a bug or how to change the existing behaviour, so it will fit your needs.

Regards and my best wishes for the new year

Ortwin
ConLite 3.0.0-dev, alternatives und stabiles Update von Contenido 4.8.x unter PHP 8.x - Download und Repo auf Gitport.de
phpBO Search Advanced - das Suchwort-Plugin für CONTENIDO 4.9
Mein Entwickler-Blog
ilias
Beiträge: 90
Registriert: Di 13. Nov 2007, 11:49
Wohnort: Greece
Kontaktdaten:

Re: locale problem

Beitrag von ilias »

I translated in half contenido in Greek language but i have problem when i put it. It shows a message: "Please use a valid language!"
Can you help me how to put the language in Contenido to test it???

Thanks
Oldperl
Beiträge: 4316
Registriert: Do 30. Jun 2005, 22:56
Wohnort: Eltmann, Unterfranken, Bayern
Hat sich bedankt: 6 Mal
Danksagung erhalten: 4 Mal
Kontaktdaten:

Re: locale problem

Beitrag von Oldperl »

Hello ilias,

you have to add greek language to Security-Class (contenido/classes/class/security.php). There's a class var named $_acceptedBelangValues holding an array with language keys. If a language isn't in this array this error is thrown.

Regards Ortwin
ConLite 3.0.0-dev, alternatives und stabiles Update von Contenido 4.8.x unter PHP 8.x - Download und Repo auf Gitport.de
phpBO Search Advanced - das Suchwort-Plugin für CONTENIDO 4.9
Mein Entwickler-Blog
ilias
Beiträge: 90
Registriert: Di 13. Nov 2007, 11:49
Wohnort: Greece
Kontaktdaten:

Re: locale problem

Beitrag von ilias »

Thanks i fix it.
http://www.connectsmartworld.org/contenido ->greek
It is ok if i put my browser in utf-8.
Can i change a variable in mysql in order to see iso-8859-7(Greek)??

Because i have always to change the browser character code.

if i put iso-8859-7 at xml file el_GR then it says it has problem at class.xml.

Also at locale/el_GR/local_messages/contenido.po, poedit says it cannot save it in greek but in utf8.
Do i make anything wrong?? At the attachment you may find the zip file

Best Regards
Ilias
Dateianhänge
el_GR.rar
contenido.po
(62 KiB) 103-mal heruntergeladen
ilias
Beiträge: 90
Registriert: Di 13. Nov 2007, 11:49
Wohnort: Greece
Kontaktdaten:

Re: locale problem

Beitrag von ilias »

Dear Friends,
do you know anything for my above question???
It is vary important to me, to be the contenido in greek market
Thanks in advance

Best Regards
Ilias
Gesperrt