Elxis CMS Forum

Support => Technical support => Topic started by: Amedo on July 25, 2007, 14:20:47

Title: Turkish Character Problem.
Post by: Amedo on July 25, 2007, 14:20:47
Hi there,

I checked the Elxis with turkish language but it seems to be an problem with the character? If you click on the link; https://www.elxis.org/index.php?option=com_mtree&task=viewlink&link_id=100&Itemid=138 (https://www.elxis.org/index.php?option=com_mtree&task=viewlink&link_id=100&Itemid=138)
Website:  http://infoturc.free.fr/index.php?mylang=turkish (http://infoturc.free.fr/index.php?mylang=turkish)
The Character Problem: http://infoturc.free.fr/index.php?option=com_content&task=view&id=31&Itemid=44 (http://infoturc.free.fr/index.php?option=com_content&task=view&id=31&Itemid=44)

It's Elxis but as you see it's an problem with the Character, could any one explain what the problem is? How can it be solved? I want to use the turkish language also for my homepage..

 
Title: Re: Turkish Character Problem.
Post by: datahell on July 25, 2007, 14:32:08
The Turkish file that you send me contained errors (joomla language strings instead of Elxis's) and ascii characters. We made some corrections but seems that we may missed something. I dont have Turkish keyboard to enter right Turkish characters. Can you open turkish.php file with an editor such as PsPad make corrections and resend it to us?
Title: Re: Turkish Character Problem.
Post by: datahell on July 25, 2007, 22:54:15
The package you send me is almost identical to the one that is published to elxis.org. I found only 2 differences with no importance. I also tested both old and new turkish package and everything is displayed fine to me. I noticed something in your site. The problem with turkish language in your site is not from the language files but from your database!

So, you must check:
- Database collation and encoding should be utf8_general_ci / utf8 for both database and tables.
- Are Turkish characters displayed well in your database from phpmyadmin or you see strange symbols? If not then they have been entered with wrong encoding. Did you copy-pasted content from ascii pages to the editor? If you wish to copy-paste ASCII text to Elxis editor do this trick: Copy ascii text and paste it in PsPad. Change encoding to utf-8. Copy text from PsPad and paste it to elxis WYSIWYG editor.
Title: Re: Turkish Character Problem.
Post by: Amedo on July 26, 2007, 00:59:09
Hi,

Thanks for your answers, we tried that also but still same problem. We think it is because of the Turkish Language Pack. But not sure..
Title: Re: Turkish Character Problem.
Post by: datahell on July 26, 2007, 08:42:24
If you look carefully you will see that whatever comes from the language files is displayed well. Whatever comes from the database it does nt displayed well. So, you must see your database only.
Title: Re: Turkish Character Problem.
Post by: michel on August 18, 2007, 10:35:11
Hi,

The person who has translated (and sent to you) Elxis files is myself.

What's the problem??

Sebahattin
Title: Re: Turkish Character Problem.
Post by: catflap on September 28, 2007, 22:36:37
Hi dont know if you have solved the problem or not but i recently had the same trouble and solved it by opening the turkish.php in language files and find line 407 if it says

DEFINE('_ISO','charset=charset=iso-8859-9');

then you need to change it to

DEFINE('_ISO','charset=UTF-8');

this will cure the problem