Dis*_*ame 6 osx gui directory directory-structure locale
在 Mac OS X 中,有像Desktop
,Users
和Library
.
在本地化系统上,这些将被命名为Skrivbord
,Användare
和Bibliotek
(瑞典语)
但是当我在终端中时,我无法输入,例如: sudo mv ~/Skrivbord ~/Bibliotek
,但我必须像这样输入他们的实际名称:sudo mv ~/Desktop ~/Library
。
它在 GUI 中的名称如何使用任何语言,但在终端中它是英文的?
由于 Finder 是用 Objective-C 构建的,因此它使用 nib 本地化。这是一个例子。
\n\n/System/Library/CoreServices/Finder.app/Contents/Resources/sv.lproj/ServicesMenu.strings\n
Run Code Online (Sandbox Code Playgroud)\n\nsv.lproj
代表Svenska.localized project
这是内容ServicesMenu.strings
bplist00\xe2\x80\x9d[Finder/Open]Finder/Reveal_Finder/Show InfolFinder/\xc3\xb7ppna_Finder/Visa i Finder_Finder/Visa info i Finder)<Ul\xc3\xa0\n
Run Code Online (Sandbox Code Playgroud)\n
归档时间: |
|
查看次数: |
947 次 |
最近记录: |