6.0.0-beta1
7/4/25

[#9506] nls.php Turkish Language Support
Summary nls.php Turkish Language Support
Queue Horde Base
Queue Version 3.3.11
Type Bug
State Duplicate
Priority 2. Medium
Owners
Requester gulenler (at) boun (dot) edu (dot) tr
Created 01/12/2011 (5287 days ago)
Due 01/12/2011 (5287 days ago)
Updated 01/12/2011 (5287 days ago)
Assigned
Resolved 01/12/2011 (5287 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/12/2011 10:50:55 AM Jan Schneider Comment #2
State ⇒ Duplicate
Patch ⇒ No
Reply to this comment
The check is still valid, see #5555.
01/12/2011 10:36:23 AM gulenler (at) boun (dot) edu (dot) tr Comment #1
Priority ⇒ 2. Medium
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Horde Base
Due ⇒ 01/12/2011
Summary ⇒ nls.php Turkish Language Support
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Hi, I think the version comparison part of nls.php is not working 
right. I'm using PHP version 5 right now but i can't get Turkish 
language support from Horde system.

PHP 5.1.6 (cli) (built: Nov 29 2010 16:47:46)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

I think it should be like this:

if (version_compare('5', PHP_VERSION, 'lt') || version_compare('6', 
PHP_VERSION, 'ge')) {
     $nls['languages']['tr_TR'] = 'Türkçe';
}

or should I use version 4.x?

Thanks.

Saved Queries