Add additional languages to globals config in core init
Add language detection via available languages in globals config in ui class