LocalLanguage

data class LocalLanguage

Contains the metadata of a local language file.

Summary

Constructors
LocalLanguage(locale: String, version: String, defaultLayout: String, availableLayouts: List<String>)
Properties
String locale
The locale of the language file. E.g. “en-US”.
String version
The version of the language.
String defaultLayout
The default layout of the language. E.g. “QWERTY”
List<String> availableLayouts
An array containing all the available layouts of the language.

Constructors

LocalLanguage

LocalLanguage(locale: String, version: String, defaultLayout: String, availableLayouts: List<String>)
Parameters
locale: String The locale of the language file. E.g. “en-US”.
version: String The version of the language.
defaultLayout: String The default layout of the language. E.g. “QWERTY”
availableLayouts: List<String> An array containing all the available layouts of the language.

Properties

locale

val locale: String

The locale of the language file. E.g. “en-US”.

version

val version: String

The version of the language.

defaultLayout

val defaultLayout: String

The default layout of the language. E.g. “QWERTY”

availableLayouts

val availableLayouts: List<String>

An array containing all the available layouts of the language.


If something needs to be added or if you find an error in our documentation, please let us know either on our GitHub or Discord.

Last updated on July 29, 2022