vue 文件导入导出
vue-i18n服务 (vue-i18n-service)
The translation team (not developers) wants a file with all the keys to translate. But I love to use translations in Single File Components.
翻译团队(而不是开发人员) 需要具有所有键的文件进行翻译。 但是我喜欢在单文件组件中使用翻译。
And I found a solution to make everyone happy: vue-i18n-service export|import
然后,我找到了一个使所有人满意的解决方案: vue-i18n-service export|import
Vue I18n Service makes to manage SFC translations easier in a file. It collects all the <i18n>
definitions in Single File Components and collects them into a file.
Vue I18n服务使在文件中管理SFC转换更加容易。 它收集单个文件组件中的所有<i18n>
定义,并将它们收集到一个文件中。