Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About supporting custom internationalized files #1525

Closed
jacko9et opened this issue Nov 5, 2021 · 6 comments
Closed

About supporting custom internationalized files #1525

jacko9et opened this issue Nov 5, 2021 · 6 comments
Labels
feature request New feature or request

Comments

@jacko9et
Copy link

jacko9et commented Nov 5, 2021

This function solves the problem

custom internationalized files

Expected API

Added support for internationalized files, or already supported, please add the documentation on how to use.
Of course, third-party components can also be used, but this will cause fragmentation in use.

@github-actions github-actions bot added the feature request New feature or request label Nov 5, 2021
@Talljack
Copy link
Contributor

Talljack commented Nov 5, 2021

Maybe you can take a look at this.
https://www.naiveui.com/zh-CN/os-theme/docs/i18n

@jacko9et
Copy link
Author

jacko9et commented Nov 5, 2021

@Talljack 自定义国际化文件,UI组件已经支持国际化了,能否将这个功能开放使用,还是写死的?使用第三方国际化组件会造成使用时UI自己国际化,其他代码自己国际化的碎片问题,可能是我忽略了什么,这文档哪里有写自定义国际化文件和自定义国际化文件怎样使用?我只在这个文档里看到了UI组件怎样国际化。

@Talljack
Copy link
Contributor

Talljack commented Nov 5, 2021

嗯好像是文件内的 没有开放 @07akioni

@07akioni
Copy link
Collaborator

07akioni commented Nov 5, 2021

嗯好像是文件内的 没有开放 @07akioni

把类型导出去然后写个文档吧,这个没啥不能开放的

@Talljack
Copy link
Contributor

Talljack commented Nov 6, 2021

嗯好像是文件内的 没有开放 @07akioni

把类型导出去然后写个文档吧,这个没啥不能开放的

你的意思是把这些i18n文件导出去吗,他想的是自定义国际化文件,而我们内部有自己定义的国际化文件

@07akioni
Copy link
Collaborator

我来弄吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants