Hi,

Updated Turkish translations are attached.
I removed some old strings which are not present in English file of 0.2-beta.
Added my name as the second translator.

BUT, for this translation to work, this ticket has to be fixed.
http://trac.roundcube.net/ticket/1485470


The ticket text -------------------------


Hi,

There is an odd problem with Turkish language and PHP. To cut it short, in Turkish there are "dotted capital I" and "dotless i" characters, and "i != I"

PHP calls strtolower() on function/class name before function calls. if the system locale is set to tr_TR, functions that contain "I" in their name cannot be found and called.

As roundcube sets locale to the selected language, using Turkish translation OR a browser which lists Turkish as preferred language is impossible currently. I get a white page and the following error in the logs.

The error I got.

PHP Fatal error: Call to undefined method MDB2_Driver_Datatype_sqlite::getDBInstance() in ./roundcubemail/program/lib/MDB2/Driver/Datatype/Common.php on line 1117

The attached patch fixes the issue by setting locale to "en_US" if user requests "tr_TR". This solved the problem and it worked with the Turkish translation of the interface. No side effects to non-Turkish users.

For more info about this Turkish locale problem:

    * http://bugs.php.net/bug.php?id=18556
    * http://www.i18nguy.com/unicode/turkish-i18n.html#problem

-------------------------



--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
 http://detached.gigo.com/rc/Em/7qPAw9jX/messages.inc
 http://detached.gigo.com/rc/Em/7qPAw9jX/labels.inc
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---

_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to