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

2_国际化.md #215

Open
github-actions bot opened this issue Jan 16, 2024 · 0 comments
Open

2_国际化.md #215

github-actions bot opened this issue Jan 16, 2024 · 0 comments

Comments

@github-actions
Copy link

我是页眉


正则匹配链接[]()语法上有局限性 , 如有疑虑可查看本文原文

mui 组件本身考虑了国际化的内容 .
它的组件一定程度上支持国际化 , 但是仅限于它组件的内容本身 .
我们自己的文案的国际化动作 , 恐怕是需要我们自己完成的 .

  1. https://www.npmjs.com/package/react-intl
  2. https://www.npmjs.com/package/i18

这里可以查看下载趋势图 : https://npmtrends.com/@lingui/react-vs-i18n-vs-next-i18next-vs-react-i18next-vs-react-intl

还是先选定一个(react-intl) , 因为要分辨它 和 其他的不同 要花许多时间 .
看起来 react-intl 是够用的 , 也足够主流 , 将来有不足之处我们再考虑其他方案 .

很快我们发现, react-intl 文档看不太懂 ; 所以想了解下 : react-i18next

关于 react-i18next 的文档 我们重点看了


我是页脚

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

No branches or pull requests

0 participants