GNOME Bugzilla – Bug 359082
Download directory changes when switching locale
Last modified: 2007-04-25 08:44:14 UTC
[ forwarded from http://bugs.debian.org/390727 ] When switching between locales with an account the following "problem" appears: The "Download" directory, created in ~/Desktop and configured by default, has a localized name (here, it has been created as ~/Desktop/ダウンロード). After switching locale, the epiphany configuration automagically switches to the newly localized directory (~/Desktop/Download, as I switched to english), and told me it doesn't exist. -- I don't know whether it is possible to fix that problem at all. Naming the directory in English would also mean patching nautilus so that it appears localized on the desktop.
Oops, wrong bug title.
I think this is mostly a per-user problem, I mean that if you area using Ephy with a Korean locale and then you switch to a Dutch one, well you should know that there are some stuff that it's going to change... Patching nautilus to use 'Downloads' as 'Descargas' or '$localized_download_dir' would mean creating some confusion with (for example) the command line (let's imagine Shinji Ikari saying "where's my ダウンロード dir?" while browsing his files from the cli. This is NOTABUG unless someone suggests a really good idea to workaround the Shinji Ikari scenario.
(FWIW, MacOSX uses non localized directory names and localize them in the Finder) Anyways, the problem is still that epiphany changes its setting depending on the locale, which is bad(tm). Once the download directory is set, it shouldn't change, whatever happens. Or at least, if it changes, create the new directory. But the latter would be a broken solution, IMHO.
See also the proposal @ http://lists.freedesktop.org/archives/xdg/2007-February/009343.html
I see Bastien committed a patch to fix #415342: 2007-04-23 Bastien Nocera <hadess@hadess.net> * lib/ephy-file-helpers.c: (xdg_user_dir_lookup), (ephy_file_downloads_dir_from_xdg), (ephy_file_downloads_dir): Use xdg-user-dirs to get a better default Downloads directory (Closes: #415342) Shouldn't this be fixed with that or some extra tweaking required?
Yes, I think with this XDG user dirs patch this problem is obsolete. *** This bug has been marked as a duplicate of 415342 ***