swift - How is the name of the first item in the MacOS app menu localized? -


i found name of first menu dictated bundlename , $(product_name). wanted him support localization, , each region displayed name, didn't find it.

are there relevant documents or cases can give me help, thank you?.

in project, add strings file named infoplist.strings , add entry cfbundlename localize file , entry per supported language:

cfbundlename = "¡mi aplicaciĆ³n!"; 

this allow name of app appear localized in app menu , in standard panel.

other info.plist string entries can localized in infoplist.strings file (e.g., cfbundlegetinfostring, nshumanreadablecopyright, nscontactsusagedescription, etc.). see keys in xcode, open info.plist file , control-click in editor pane of plist see contextual menu , select show raw keys/values.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -