Elxis CMS Forum
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Elxis 4.x documentation for users and developers
 
Pages: 1 [2]
  Print  
Author Topic: Problem with Turkish language on Linux servers  (Read 14078 times)
bcrow
Newbie
*
Offline Offline

Posts: 48


« Reply #15 on: February 19, 2009, 20:29:58 »

i installed 2008.1 already.i tried last turkish translations on it.still dont work.
« Last Edit: February 23, 2009, 19:20:34 by Ivan Trebješanin » Logged
CREATIVE Options
Authorized Elxis Professional
Elxis Community
Hero Member
*****
Offline Offline

Posts: 2324


Professional services for Elxis CMS


WWW
« Reply #16 on: February 20, 2009, 01:41:29 »

As Datahell mention the Turkish language file has mistakes and doesn't work.
Logged

Online Booking Pro Template with split menu (Elxis 2009.3) | We introduce the service of transferring all the content from Elxis 2006.x / 2008.x / 2009.x to Elxis 4 !
bcrow
Newbie
*
Offline Offline

Posts: 48


« Reply #17 on: February 20, 2009, 09:21:39 »

can you help me how i can translate the elxis into turkish.if you tell me the files,i ll do it myself and send to you.
Logged
Farhad Sakhaei
Elxis Community
Hero Member
*****
Offline Offline

Posts: 1188


I know nothing , Should know more & more


WWW
« Reply #18 on: February 23, 2009, 15:04:52 »

Your problem will not solve even if you re translate it from scratch
Use this language pack instead

Before uploading this language pack , First un publish current Turkish language , Then remove the existing turkish folder from /languages and upload the new package

Publish Turkey language and use it  Smiley

Edited : Use last post
« Last Edit: February 23, 2009, 16:30:06 by Farhad Sakhaei » Logged

ks-net
Elxis Community
Hero Member
*****
Offline Offline

Posts: 2075

Kostas Stathopoulos


WWW
« Reply #19 on: February 23, 2009, 15:15:50 »

not working...
wait to check htaccess cause it prints in the url domain.com// and not doamain.co/tr/


« Last Edit: February 23, 2009, 15:20:41 by ks-net » Logged

Farhad Sakhaei
Elxis Community
Hero Member
*****
Offline Offline

Posts: 1188


I know nothing , Should know more & more


WWW
« Reply #20 on: February 23, 2009, 15:17:45 »

I just solve the problems , I don't care what are those  Grin
Logged

ks-net
Elxis Community
Hero Member
*****
Offline Offline

Posts: 2075

Kostas Stathopoulos


WWW
« Reply #21 on: February 23, 2009, 15:21:58 »

not working.  check my previous post
cause of this in httacess

RewriteRule ^(
{2})/(.*)$ /index.php?mylang=turkish [QSA,L]

one has to chaghe ....
htaccess or lang files
« Last Edit: February 23, 2009, 15:24:19 by ks-net » Logged

Farhad Sakhaei
Elxis Community
Hero Member
*****
Offline Offline

Posts: 1188


I know nothing , Should know more & more


WWW
« Reply #22 on: February 23, 2009, 15:35:32 »

It is working with no SEO PRO...
I'm trying more
Logged

Farhad Sakhaei
Elxis Community
Hero Member
*****
Offline Offline

Posts: 1188


I know nothing , Should know more & more


WWW
« Reply #23 on: February 23, 2009, 16:44:22 »

Ok, I found the problem ...
This is a PHP 5 Bug with Turkish locale ...

@ bcrow: Please ignore my last post about the turkey language pack , Use that Elxis original Turkish language pack ...
To solving your problem you should change your default language locale setting
By default , Elxis detect your Locale based on your server settings and selected language
As PHP 5 has a bug with Turkish locale , You shouldn't allow Elxis to detect the Turkish language...
To do it log in to your administration
Go to : Site -> Global Configuration -> Locale -> Set: Country Locale to english (for windows)

The existing problem is a PHP 5.2 related and not an Elxis related ...
Related topic in PHP web site : http://bugs.php.net/bug.php?id=39993

I think users under windows servers don't have this problem ...
This problem is for Linux servers with PHP 5
Turkish people should wait for next release of PHP to solve this problem on their servers ...
So all turkish people should do this if they have existing problem ...

Problem Solved ...
I make this topic sticky as all Turkish people have this problem
« Last Edit: February 23, 2009, 17:02:08 by Farhad Sakhaei » Logged

datahell
Elxis Team
Hero Member
*****
Offline Offline

Posts: 7597



WWW
« Reply #24 on: February 23, 2009, 21:05:33 »

Thanks farhad, I did nt had the time to investigate the problem but I had seen that there was something strange when you switched to Turkish. So, it is a PHP bug, interesting... I will patch Elxis 2009.0 to bypass this problem.

Please don't set locale to english for windows as it is not a UTF-8 locale. Select a UTF-8 locale (en_GB.UTF8 or en_US.UTF8) or edit file:
includes/Core/locale.php and make Turkish language to pick the English locale (best choice):

delete this:
'turkish' => array('tr_TR.UTF8', 'tr_TR.UTF-8'), //PHP 5.2 bug with Turkish locale
Add this:
'turkish' => array( 'en_GB.UTF8', 'en_US.UTF8', 'en_GB.UTF-8', 'en_US.UTF-8', 'en'),

Note: xxx.UTF-8 locales are for BSD, FreeBSD, Debian and Ubuntu.
« Last Edit: February 23, 2009, 21:18:46 by datahell » Logged

memoc@n
Newbie
*
Offline Offline

Posts: 26


« Reply #25 on: March 11, 2009, 21:25:35 »

Thanks for this solution
Logged

Elxis Support Site For Turkie - www.elxisturkiye.org
0n3
Newbie
*
Offline Offline

Posts: 3


« Reply #26 on: April 16, 2009, 14:42:20 »

or this

find

'turkish' => array('tr_TR.UTF8@euro', 'tr_TR.UTF8'),


replace

 'turkish' => array( 'en_GB.UTF8', 'en_US.UTF8', 'en_GB.UTF-8', 'en_US.UTF-8', 'en'),
Logged
Pages: 1 [2]
  Print  
 
Jump to: