Skip to content

Instantly share code, notes, and snippets.

@AFutureD
Created August 21, 2019 02:12
Show Gist options
  • Save AFutureD/dabeff9263c10c11901fbfa4e665cafd to your computer and use it in GitHub Desktop.
Save AFutureD/dabeff9263c10c11901fbfa4e665cafd to your computer and use it in GitHub Desktop.
chang app to zh-CN #macOS
setAppL(){
APPPATH=$1
APPID=$(mdls -name kMDItemCFBundleIdentifier $APPPATH | cut -d'"' -f2)
defaults write $APPID AppleLanguages '(zh-CN)'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment