macoslocalizationnsopenpanel

Localised names for directories in mac os x


I have set /Volume directory to NSOpenPanel so when user try to browse using NSOpenPanel it shows all volumes to user.
Issue : Is /Volumes folder name is same for all languages or I need to add localisation value for english name "/Volumes.


Solution

  • I switched my language to French and then to Chinese, and both times the absolute directory names remained the same. The screenshot below shows this. So, to echo what @mschmidt said in the comments, it looks like localized names are only displayed to the user. They are not used in the filesystem, so folder names will remain the same when switching languages. directory names remain the same when switching languages on macOS