modified locales files to typescript