Sync ui (#11083)
This commit is contained in:
parent
ea14932b9a
commit
7cc8f1afb2
|
|
@ -60,5 +60,6 @@
|
|||
* Remove `storage extension` doc, as it is expired.
|
||||
* Remove `how to add menu` doc, as SkyWalking supports marketplace and new backend-based setup.
|
||||
* Separate contribution docs to a new menu structure.
|
||||
* Add a doc to explain how to manage i18n.
|
||||
|
||||
All issues and pull requests are [here](https://github.com/apache/skywalking/milestone/181?closed=1)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,13 @@
|
|||
# Guide
|
||||
> This section explains how to manage translations for internationalization of menu items.
|
||||
|
||||
SkyWalking UI's internationalization translations are in the [src/locales/lang](https://github.com/apache/skywalking-booster-ui/tree/main/src/locales/lang).
|
||||
The translations include `menu name` and `description`. The translation key of `menu name` is the value of `i18nKey` from [menu definition file](../../../oap-server/server-starter/src/main/resources/ui-initialized-templates/menu.yaml). The translation key of `description` consists of the `i18nKey` value and `_desc` suffix. The `description` contents will be displayed on the Marketplace page.
|
||||
|
||||
The following is a typical `menu name` and `description` for i18nKey=`general_service`
|
||||
```json
|
||||
{
|
||||
"general_service": "General Service",
|
||||
"general_service_desc": "Observe services and relative direct dependencies through telemetry data collected from SkyWalking Agents."
|
||||
}
|
||||
```
|
||||
|
|
@ -341,6 +341,8 @@ catalog:
|
|||
path: "/en/guides/dependencies"
|
||||
- name: "Zipkin dependency"
|
||||
path: "/en/guides/how-to-bump-up-zipkin"
|
||||
- name: "I18n"
|
||||
path: "/en/guides/i18n"
|
||||
- name: "Changelog"
|
||||
catalog:
|
||||
- name: "Current Version"
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 5367af47c4c8fe584f3f829dc30c8e105a0cc201
|
||||
Subproject commit 077b68ebbd47e59789e17ce1388ed96623369370
|
||||
Loading…
Reference in New Issue