Created attachment 267465 [details] fixes clobbering setlocale() calls I have had problems with Thunar's translation falling back to "C" locale or whatever is indicated in ~/.config/user-dirs.locale. The problem seem to be 2 setlocale() calls which do not properly save (i.e. strdup()) the old locale. I have also submitted a patch to the XFCE people (see https://bugzilla.xfce.org/show_bug.cgi?id=4746). Patch tested with thunar-1.2.1 on Gentoo (x86_64). Maybe it should just be added to the ebuild until it gets fixed upstream. This is my first patch submit to Gentoo. Just let me know if you need anything else.
Comment on attachment 267465 [details] fixes clobbering setlocale() calls As per http://bugzilla.xfce.org/show_bug.cgi?id=4746#c3 this one should use g_strdup instead, and then g_free it
*thunar-1.2.2-r1 (09 Aug 2011) 09 Aug 2011; Samuli Suominen <ssuominen@gentoo.org> +thunar-1.2.2-r1.ebuild, +files/thunar-1.2.2-locale.patch: Fix translation issues noticed with at least xdg-user-dirs wrt #360853 as reported by Martin Jürgens. Patch is from upstream #4746 by Mark Trompell.