Bug 363484 - Locale settings not recognized by krusader
Summary: Locale settings not recognized by krusader
Status: RESOLVED FIXED
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-24 21:17 UTC by slartibart70
Modified: 2018-05-06 00:15 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description slartibart70 2016-05-24 21:17:37 UTC
My locale settings are setup as follows:
$ locale
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC=nds_DE.UTF-8
LC_TIME=de_DE
LC_COLLATE=nds_DE.UTF-8
LC_MONETARY=nds_DE.UTF-8
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT=nds_DE.UTF-8
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=

I also want to start some programs using a different locale, which i typically do like this:
LC_TIME=de_DE.UTF8 dolphin 
or
LC_TIME=de_DE.UTF8 thunderbird

Krusader does not respect the LC_TIME setting as wanted and shows en_US style timestamps in its main panels
It does, however, switch over to the german timestamp style if i start it like this:
LC_ALL=de_DE.UTF8 krusader 
but then, the whole user-interface of krusader is in german.

Please fix this bug or provide an alternative ISO-8601 timestamp format as a default

Reproducible: Always
Comment 1 Alberto 2016-07-09 17:36:48 UTC
I also have a very similar issue (probably the same root cause) since I upgraded to Fedora 22 w/ KDE 4.14.17.
I have my locale set to es_ES.UTF-8, and krusader (2.4.0-beta3) displays properly the filenames with international characters (like Música, Imágenes), but if I try to display or move any file within a path containing UTF-8 encoded chars, I get a  'file or directory doesn't exist' error. Now, the interesting part is that if I start krusader from a konsole session with
$ LANG=C krusader
then filenames appear garbled (like Im~A¡genes), but I can move/open them freely. But if I start krusader with 
$LANG=es_ES.UTF-8 krusader
I get the previous behaviour: file names are displayed OK, but it's not possible to move/open.
Comment 2 Alberto 2016-07-09 17:41:07 UTC
Sorry, didn't read properly that this was related to timestamps, probably I should open a new bug.
Comment 3 slartibart70 2016-09-23 19:59:51 UTC
I found the fix for it:
kcmshell4 language

(krusader is still controlled by kde4 settings)