Localized display names for well-known user folders (Finder/Explorer parity) — branch ready, PR blocked by repo policy

Author: RaulVargasPCreated Jul 23, 2026Updated Jul 23, 2026

Summary

I have a ready-to-merge branch implementing Finder/Explorer-style localized display names for well-known user directories, but the repository's pull request policy is currently set to collaborators-only, so I can't open the PR. Filing this issue so you can take a look — happy to open the PR the moment it's possible (or feel free to pull the branch directly).

Branch / full diff: https://github.com/aleksey-hoffman/sigma-file-manager/compare/main...RaulVargasP:sigma-file-manager:feat-localized-user-dirs

Problem

On macOS and Windows, user folders are physically named in English (Desktop, Documents, Downloads, ...) and the OS file manager only translates them visually (Finder shows Escritorio, Documentos, ... in Spanish). Sigma renders the raw on-disk names, so with the UI set to another language the file browser still shows English folder names everywhere.

Solution in the branch

  • A pure, unit-tested util maps the Tauri-resolved user dir paths to the existing userDirs.* i18n keys — only when the physical leaf name is the well-known English one, so already-localized XDG dirs on Linux keep their real names.
  • A useLocalizedDirName composable resolves names reactively (locale switches, user-paths init, platform info) and is wired into the file list, grid cards, address-bar breadcrumbs/sibling menus, tab titles, Quick Access, info panel and the current-dir context-menu header.
  • macOS-only: ~/Library, /Applications, and a new userDirs.movies key for ~/Movies (Finder parity). Case-folded matching on macOS/Windows.
  • Display-only: rename dialog, path editor, search, sort and all file operations keep using real on-disk names.
  • New userDirs keys (movies, public, applications, library) added to all 16 locales using each OS's own folder-name translations (macOS SystemFolderLocalizations), not machine translations.
  • 10 new unit tests; ts, eslint --max-warnings 0 and lint:check clean; verified in a release build on macOS (Apple Silicon).

Follow-up to #424. Also happy to put it behind a settings toggle if you'd prefer it opt-in.

Generated with Claude Code

Source: aleksey-hoffman/sigma-file-manager