@ui5/task-adaptation
Version:
Custom task for ui5-builder which allows building UI5 Flexibility Adaptation Projects for SAP BTP, Cloud Foundry environment
14 lines (13 loc) • 557 B
TypeScript
export default class Language {
readonly sap: string;
readonly i18n: string;
isDefault: boolean;
constructor(sap: string, i18n: string, isDefault?: boolean);
/**
* Create a language array from languages in configuration and default language.
* @param languages Typically an array of objects. Probably could be undefined.
* @returns An array of type Language, where the default language is placed first,
* followed by the passed config languages.
*/
static create(languages: any[] | undefined): Language[];
}