added i18n support to resources