resource file manage and i18n support