modify legacy i18n function due to file move