OSX - Service does not show the localized Menu Title string

本小妞迷上赌 提交于 2019-12-04 19:34:37

Faced the same problem today while adding service to my application.

Everything works except the localizations.

Fixed the issue by running these commands:

/System/Library/CoreServices/pbs -flush

/System/Library/CoreServices/pbs -update

According English.lproj

Does this have anything to do with, that I do not have any English.lproj, instead I have en.lproj?

English.lproj is obsolete, use en.lproj instead. From Apple docs:

For language designations, you can use either the ISO 639-1 or ISO 639-2 conventions. The ISO 639-1 specification uses a two-letter code to identify a language and is the preferred way to identify languages.

Look at Internationalization Programming Topics (Language and Locale Designations → Language Designations) for more info.

https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPInternational/Articles/LanguageDesignations.html#//apple_ref/doc/uid/20002144-SW1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!