Thanks for your contribution @PrestaEdit but "Context::getContext()->language->id" is always initialized so we don't need to use Configuration::get('PS_LANG_DEFAULT');