Stop going for the easy buck and start producing something with your life.
Create, instead of living off the buying and selling of others.
— Oliver Stone, Wall Street, 1987

Categorized | China (中国), Mac OS X

Mac OS X: Chinafy your Filenames…

Posted on 08 January 2008 by Erwin

If you use a Chinese, Japanese or Korean version of the Mac OS X operating system, you may have noticed that the filenames provided by the system are localized, at least under certain directories.

Pictures => 照片 Movies => 影片 Downloads => 下载 Etc… 等等…

If you also use software like VMware, or sometimes use the Terminal to manipulate these files, you can find it annoying that UTF-8 is still not supported everywhere…

You can duplicate the default system functionality of using english language (or roman character anyway) file names for your actual files, but then localize them so they aren’t so annoying to look at. For example, to make my Finance folder into my 财务 folder, I renamed the english version to “Finance.localized”, then created a .localized subfolder inside (mind the leading dot!) and then created a zn_CN.strings folder inside there. zh_CN.strings simply contains:

“Finance” = “财务”;

Restart your finder (killall Finder) or log out and log back in to see the changes. Enjoy your slightly more chinafied mac…

More information about the procedure is on the Mac Developer Connection website: http://developer.apple.com/documentation/MacOSX/Conceptual/BPFileSystem/Articles/DisplayNames.html

<

p>

<

p>

<

p>

1 Comments For This Post

  1. Barbar Heinzman Says:

    Thank you for sharing a very interesting post. A big thumbs up!

    I’d searched around on Yahoo and fortunately found something worth reading. I’m glad I found it!

    I’ll be return again. :) I’ll be sure to share it with my followers.

Leave a Reply