简体   繁体   English

如何在 wso2 管理门户中本地化为中文

[英]How to localize to chinese in wso2 admin portal

I got apim4.1.0.zip and deployed on my vm,there were 3 portals:我得到了 apim4.1.0.zip 并部署在我的虚拟机上,有 3 个门户:

[1].https://localhost:9443/publisher

[2].https://localhost:9443/devportal [3].https://localhost:9443/admin [2].https://localhost:9443/devportal [3].https://localhost:9443/admin

How to translate admin portal to Chinese with correct way?如何以正确的方式将管理门户翻译成中文?

You can do this as follows.您可以按如下方式执行此操作。

  1. Identify the two-letter locale code for the language that you want to add to the Admin Portal.确定要添加到管理门户的语言的两个字母的区域设置代码。

    The locale code for the Chinese language is zh.中文的语言环境代码是 zh。

  2. Make a copy of the en.json file and rename it based on the locale code.制作一份 en.json 文件的副本并根据区域设置代码重命名它。

    Rename the copy of the <APIM_HOME>/repository/deployment/server/jaggeryapps/admin/site/public/locales/en.json file to zh.json.将 <APIM_HOME>/repository/deployment/server/jaggeryapps/admin/site/public/locales/en.json 文件的副本重命名为 zh.json。

  3. Change all the values that correspond to the key-value pairs to the language that you want to add to the Admin Portal.将与键值对对应的所有值更改为要添加到管理门户的语言。

More information can be found in https://apim.docs.wso2.com/en/latest/reference/customize-product/customizations/adding-internationalization/更多信息请参见https://apim.docs.wso2.com/en/latest/reference/customize-product/customizations/adding-internationalization/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM