一、环境:
macos 13.6.1
gnucash 5.4-2
二、查看系统默认语言:
bash
defaults read -g AppleLocale
三、设置gnucash应用语言:
bash
defaults write $(mdls -name kMDItemCFBundleIdentifier -raw /Applications/GnuCash.app) AppleLanguages "(zh-Hans)"
四、查看gnucash应用语言:
bash
defaults read $(mdls -name kMDItemCFBundleIdentifier -raw /Applications/GnuCash.app) AppleLanguages
五、删除gnucash应用语言设置,即恢复系统默认语言:
bash
defaults delete $(mdls -name kMDItemCFBundleIdentifier -raw /Applications/GnuCash.app) AppleLanguages