[#6194] badly parsed ftp directory listing with Turkish language
Summary badly parsed ftp directory listing with Turkish language
Queue Gollem
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners Jan Schneider <jan (at) horde (dot) org>
Requester horde-tr (at) metu (dot) edu (dot) tr
Created 02/02/2008 (247 days ago)
Due 01/05/2008 (275 days ago)
Updated 02/03/2008 (246 days ago)
Assigned
Resolved 02/03/2008 (246 days ago)
Attachments
Milestone
Patch No

History
02/03/2008 Jan Schneider Comment #2
State ⇒ Resolved
Assigned to Jan Schneider
Reply to this comment
This has been fixed in CVS. I'm setting the locale to "C" instead, 
which is the only portable locale.
02/02/2008 horde-tr (at) metu (dot) edu (dot) tr Comment #1
Queue ⇒ Gollem
Due ⇒ 01/05/2008
Summary ⇒ badly parsed ftp directory listing with Turkish language
Type ⇒ Bug
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Reply to this comment
I am translating gollem to Turkish.

I configured a ftp backend.

After logging in to horde with "Turkish" language choosen, file 
manager displays the ftp listing badly parsed.  All attributes 
(filename, owner, group, size ..etc) are listed under "Name" column. 
This leads to lack of all maniplation features.

Changing the line 660 of horde/lib/VFS.php from;

setlocale(LC_CTYPE, 'en');

to;

setlocale(LC_CTYPE, 'en_US');

solved the problem for me.

All the best.

Emre Sezginer
horde-tr at metu.edu.tr