diff --git a/api/js/etemplate/Et2Select/Et2Select.ts b/api/js/etemplate/Et2Select/Et2Select.ts index 08c43e2e9e..80f4c2dc98 100644 --- a/api/js/etemplate/Et2Select/Et2Select.ts +++ b/api/js/etemplate/Et2Select/Et2Select.ts @@ -895,4 +895,17 @@ export class Et2SelectYear extends Et2SelectNumber } // @ts-ignore TypeScript is not recognizing that this widget is a LitElement -customElements.define("et2-select-year", Et2SelectYear); \ No newline at end of file +customElements.define("et2-select-year", Et2SelectYear); + +export class Et2SelectLang extends Et2StaticSelectMixin(Et2Select) +{ + constructor() + { + super(); + + this.static_options = so.lang(this, {other: this.other || []}); + } +} + +// @ts-ignore TypeScript is not recognizing that this widget is a LitElement +customElements.define("et2-select-lang", Et2SelectLang); \ No newline at end of file