Skip to content

How To Translate | 如何翻译 #51

@Bronya0

Description

@Bronya0

If you think the translation is inaccurate or missing, you can participate in the translation:

  1. Add language files under app/frontend/src/i18n
  2. Add registered language files in app/frontend/src/i18n/init.js
  3. In the languageMap of app/frontend/src/App.vue, add the languages ​​supported by the vue naive ui framework. For the supported range, refer to: https://www.naiveui.com/en-US/os-theme/docs/i18n
  4. Register the language in the languageOptions of app/frontend/src/components/Settings.vue to support drop-down selection

如果觉得翻译不准确或缺失,可以参与翻译:
1、在app/frontend/src/i18n下增加语言文件
2、在app/frontend/src/i18n/init.js中添加注册语言文件
3、在app/frontend/src/App.vue的languageMap中,将vue naive ui框架支持的语言添加进去,支持范围参考:https://www.naiveui.com/en-US/os-theme/docs/i18n
4、在app/frontend/src/components/Settings.vue的languageOptions中注册语言,使其支持下拉选择

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions