Function: ux.GetLanguageData

Gets the language data of all languages defined by the request.

Syntax

{
	"method": "ux.GetLanguageData",
	"params": {
		"namespaces": "...",
		"languages": "...",
	},
	"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
AdvFuture<std::vector<LanguageData>> GetLanguageData( std::optional<std::vector<AdvString>> namespaces = std::nullopt
	 std::optional<std::vector<AdvString>> languages = std::nullopt );
public Task<IList<LanguageData>> GetLanguageDataAsync(IList<string>? namespaces = null,
		IList<string>? languages = null,
		CancellationToken ct = default);
getLanguageData(namespaces?: string[] | undefined, languages?: string[] | undefined): Promise<LanguageData[]>;

Parameters

namespaces : string[] optional

Identifier of the language data that shall be returned. If it is empty, everything is returned. Values are WinGuard, @User, <‍Extension‍>, where <‍Extension‍> is the Localizer namespace of an Extension language resource. The @User data contains all overwritten language IDs, merging them is up to the API user.

languages : string[] optional

The list of languages to return. If it is empty, all languages are returned.

Result : LanguageData[]

Remarks

This method requires API read access.