Server Languages
interface ServerLanguages
Manages languages.
Properties
Functions
Link copied to clipboard
Gets client language data by name or default language if not found.
Gets client language data based on the chat holder's language setting.
Link copied to clipboard
Gets server language data by name or default language if not found.
Gets server language data based on the chat holder's language setting.
Link copied to clipboard
abstract fun register(resourceLoader: ResourceLoader, languagesFolder: File): CompletableFuture<Void>
Registers a new language using resources.
abstract fun register(url: URL, fileName: String?, resourceLoader: ResourceLoader, languagesFolder: File): CompletableFuture<Void?>
open fun register(crowdinProjectId: String, fileName: String?, resourceLoader: ResourceLoader, languagesFolder: File): CompletableFuture<Void?>
Registers a new language using crowdin.