React版本18中的多语言网站?

发布于 2025-02-01 17:52:07 字数 322 浏览 4 评论 0原文

我在为我的WebApp进行内部化和本地化时面临问题,该WebApp是在React版本18上使用材料UI进行造型的。

我找到了I18Next,React-I18Next,I18Next-Intl,I18Next-N和相关库,用于在React中执行此功能。 Web应用程序。

所有这些库都包括为每种语言编写.json的手动文件。

但是 我的Web应用程序的内容具有完整的仪表板。

我在测试应用程序中使用的Google Translate API用于翻译特定网页的整个内容,这是不可行的解决方案...

我对您的建议,调查结果,相关的技术文档持开放态度 - 非常感谢!

I am facing issue while doing internalization and localization for my WebApp which is build on React version 18 using Material UI for styling..

I found i18next, react-i18next, i18next-intl, i18next-n and related libraries for doing this functionality in react web applications.

But these all libraries are including to write manually files of .json for each language I want to give support for different regions...

But My admin has lot of component including in it So how can I able to give add manually translation for all the content of my web application which has complete dashboard.

There is Google Translate API which I am using in my test app for translating whole content of specific web page which is not viable solution of it...

I am open to to your suggestions, findings, relevant technical docs - Many Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文