nuxt/create-nuxt-app

Add i18n as a step in the process

Open

#35 创建于 2018年2月15日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)JavaScript (442 fork)batch import
hacktoberfest

仓库指标

Star
 (3,451 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Title says it all, there is an i18n example in the documentation, though I think i18next would be preferable.

The documentation example, however, is naïve, it places the locales in one folder, which is okay for a framework default and as a starting point. As a developer with some localization experience I prefer to make each class/plugin/component etc. have their data, configuration, locales, etc. in the same place for maintenance and of course for creating parts that do one thing only.

I guess it's up to me to tool this?

贡献者指南