Function: app.SetLanguage
Set current language.
Syntax
{
"method": "app.SetLanguage",
"params": {
"id": "...",
"forced": "...",
},
"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}AdvFuture<bool> SetLanguage( AdvString id, std::optional<bool> forced = std::nullopt );public Task<bool> SetLanguageAsync(string id, bool? forced = null, CancellationToken ct = default);setLanguage(id: string, forced?: boolean | undefined): Promise<boolean>;Parameters
id : string
Language Id (de, en, …).
forced : bool optional
Set language without queries, unsaved content may be lost.
Result : bool
Success.
Remarks
This method requires API control access.