I am writing custom keyboard. When I add my keyboard in setting, I saw like this. It show english.
Is it possible to change "English" as other? Is it in plist ? Or where can I change?
I am writing custom keyboard. When I add my keyboard in setting, I saw like this. It show english.
Is it possible to change "English" as other? Is it in plist ? Or where can I change?
If you want to support multiple languages in the same keyboard you can type "mul" for "PrimaryLanguage" in your keyboard extensions info.plist.
That will display the text "Multiple Languages".
Yes, actually this setting is hidden in info.plist
of the extension, not the one of the container, under NSExtension -> NSExtensionAttributes.
For changing that, right click on info.plist
and select Open as source code
. and then find PrimaryLanguage
This string value, en-US (English for the US) by default, expresses the primary language for your keyboard using the pattern <language>-<REGION>
. You can find a list of strings corresponding to languages and regions at This Link.
Just change it to your custom language and voila! :)