Overview
Flexible localization support is an important part of a software keyboard. A keyboard should be able to easily change the locale without major code changes.
KeyboardKit has a KeyboardLocale
enum that defines all supported locales (languages), where each has localized strings and assets. KeyboardKit also extends the native Locale with more capabilities.
KeyboardKit Pro unlocks localized input sets, layouts, callout actions & services for all locales.
Core Features
KeyboardKit supports 68 locales:
๐ฆ๐ฑ ๐ฆ๐ช ๐ฆ๐ฒ ๐ง๐พ ๐ง๐ฌ ๐ฆ๐ฉ ๐ณ๏ธ ๐ญ๐ท ๐จ๐ฟ ๐ฉ๐ฐ ๐ณ๐ฑ ๐ง๐ช ๐บ๐ธ ๐ฌ๐ง ๐บ๐ธ ๐ช๐ช ๐ซ๐ด ๐ต๐ญ ๐ซ๐ฎ ๐ซ๐ท ๐ง๐ช ๐จ๐ญ ๐ฌ๐ช ๐ฉ๐ช ๐ฆ๐น ๐จ๐ญ ๐ฌ๐ท ๐บ๐ธ ๐ฎ๐ฑ ๐ญ๐บ ๐ฎ๐ธ ๐ณ๏ธ ๐ฎ๐ฉ ๐ฎ๐ช ๐ฎ๐น ๐ฐ๐ฟ ๐น๐ฏ ๐น๐ฏ ๐น๐ฏ ๐ฑ๐ป ๐ฑ๐น ๐ฒ๐ฐ ๐ฒ๐พ ๐ฒ๐น ๐ฒ๐ณ ๐ณ๐ด ๐ณ๏ธ ๐ฎ๐ท ๐ต๐ฑ ๐ต๐น ๐ง๐ท ๐ท๐ด ๐ท๐บ ๐ท๐ธ ๐ท๐ธ ๐ธ๐ฐ ๐ธ๐ฎ ๐ช๐ธ ๐ฐ๐ช ๐ธ๐ช ๐น๐ท ๐บ๐ฆ ๐บ๐ฟ
Each keyboard locale refers to a native Locale
and has additional keyboard-specific information, as well as localized assets and strings that can be translated with the KKL10n
enum.
You can use the KeyboardContext
to get and set the current locale and all available locales. If it has multiple locales, you can use selectNextLocale()
or the .nextLocale
action to quickly change locale.
Setting the locale updates the controllerโs primaryLanguage
, which controls things like spellchecking and text direction. It will also set the display name in the system keyboard switcher.
KeyboardKit supports LTR (Left-To-Right) and RTL locales. You donโt need to do anything to support RTL. Just change the locale and KeyboardKit automatically adjusts the keyboard.
๐ Pro features
KeyboardKit Pro unlocks a localized InputSet
, KeyboardLayoutProvider
and CalloutActionProvider
for every KeyboardLocale
that the license unlocks.
This means that KeyboardKit Pro can create fully localized SystemKeyboard
for all supported locales, without any additional code needed. Just change the locale and the system keyboard adapts.
Documentation
The information on this page is shortened to be easier to overview. For more information about this feature, code samples, etc. please see the online documentation.
Read more
Essentials
KeyboardKit provides essential features, utilities & views.
Pro Features
KeyboardKit Pro unlocks features like autocomplete, emojis, AI, etc.
Actions
KeyboardKit makes it easy to handle keyboard actions.
App
KeyboardKit makes it easy to set up your app and keyboard.
Callouts
KeyboardKit can show input & secondary action callouts.
Device Utilities
KeyboardKit has device-specific utilities.
Emojis
KeyboardKit defines emojis, categories, skin tones, etc.
External Keyboards
KeyboardKit Pro can detect if an external keyboard is being used.
Feedback
KeyboardKit can trigger audio & haptic feedback.
Gestures
KeyboardKit has a customizable keyboard gesture engine.
Host
KeyboardKit can identify the host application.
Input
KeyboardKit can input text inside the keyboard extension itself.
Layout
KeyboardKit has customizable input sets & keyboard layouts.
Localization
KeyboardKit supports 60+ locales and languages.
Navigation
KeyboardKit lets you open urls and apps from the keyboard.
Previews
KeyboardKit has extension keyboard preview support.
Proxy Utilities
KeyboardKit makes your text document proxy do a LOT more.
Settings
KeyboardKit has tools for in-app settings & System Settings.
Status
KeyboardKit detects if a keyboard is enabled, has full access, etc.
Styling
KeyboardKit lets you style your keyboards to great extent.
Themes
KeyboardKit can use themes to style keyboards in flexible ways.