Simplyfy promise creation in loadTranslations.