After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 359082 - Download directory changes when switching locale
Download directory changes when switching locale
Status: RESOLVED DUPLICATE of bug 415342
Product: epiphany
Classification: Core
Component: Downloads
unspecified
Other Linux
: Low normal
: gnome-2-20
Assigned To: Epiphany Maintainers
Marco Pesenti Gritti
Depends on:
Blocks:
 
 
Reported: 2006-10-02 18:57 UTC by Josselin Mouette
Modified: 2007-04-25 08:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Josselin Mouette 2006-10-02 18:57:40 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.
Comment 1 Josselin Mouette 2006-10-02 18:58:31 UTC
Oops, wrong bug title.
Comment 2 Diego Escalante Urrelo (not reading bugmail) 2006-10-03 11:00:57 UTC
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.


Comment 3 Mike Hommey 2006-10-03 11:51:42 UTC
(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.
Comment 4 Christian Persch 2007-02-28 12:53:39 UTC
See also the proposal @ http://lists.freedesktop.org/archives/xdg/2007-February/009343.html
Comment 5 Diego Escalante Urrelo (not reading bugmail) 2007-04-25 00:19:32 UTC
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?
Comment 6 Christian Persch 2007-04-25 08:44:14 UTC
Yes, I think with this XDG user dirs patch this problem is obsolete.

*** This bug has been marked as a duplicate of 415342 ***