fix(basic.gblib): update ChatServices.ts #420

Closed
eltociear wants to merge 2540 commits from patch-1 into main
Showing only changes of commit 722a950033 - Show all commits

View file

@ -910,11 +910,12 @@ export class GBConversationalService {
});
}
const locale = systemUser?systemUser.locale:null;
text = await min.conversationalService.translate(
min,
text,
systemUser.locale
? systemUser.locale
locale
? locale
: min.core.getParam<string>(min.instance, 'Locale', GBConfigService.get('LOCALE'))
);