Xdg-user-dirs is a tool to help manage "well known" user directories like the desktop folder and the music folder. It also handles localization (i.e. translation) of the filenames.
This extension sets the Gtk bookmark file and tracks changes of the locale to notify the user on login about changed directory names.