[Tickets #9506] Re: nls.php Turkish Language Support

bugs at horde.org bugs at horde.org
Wed Jan 12 10:38:21 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/9506
------------------------------------------------------------------------------
  Ticket             | 9506
  Updated By         | gulenler at boun.edu.tr
  Summary            | nls.php Turkish Language Support
  Queue              | Horde Base
  Version            | 3.3.11
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


gulenler at boun.edu.tr (2011-01-12 05:36) wrote:

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.






More information about the bugs mailing list