Skip to content

Commit 63234c3

Browse files
Docs: More i18n (#2043)
1 parent 0583f31 commit 63234c3

File tree

3 files changed

+33
-2
lines changed

3 files changed

+33
-2
lines changed

docusaurus/docs/how-to-guides/plugin-internationalization.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,13 @@ keywords:
1515
- webpack
1616
---
1717

18-
The Grafana UI is available in [several languages](https://grafana.com/docs/grafana/latest/administration/organization-preferences/#change-grafana-language). By default, plugins are available in English only and are not translated when you change your language settings.
18+
By default, plugins are available in English only and are not translated when you change your language settings in the [Grafana UI](https://grafana.com/docs/grafana/latest/administration/organization-preferences/#change-grafana-language).
1919

20-
Grafana uses the [i18next internationalization framework](https://www.i18next.com/) for translation purposes. If you want your plugin to be translatable to other languages you need to perform the changes described in this document. While this example is based on a panel plugin, the process is the same for data source and app plugins.
20+
If you want your plugin to be translatable to other languages you need to perform the changes described in this document. You can find the [list of available languages](https://github.com/grafana/grafana/blob/main/packages/grafana-i18n/src/constants.ts) in GitHub.
21+
22+
:::note
23+
While this example is based on a panel plugin, the process is the same for data source and app plugins.
24+
:::
2125

2226
## Before you begin
2327

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
id: plugin-i18n-concept
3+
title: Translate plugins
4+
description: Plugin translation overview.
5+
keywords:
6+
- grafana
7+
- plugins
8+
- plugin
9+
- usage
10+
- internationalization
11+
- translation
12+
sidebar_position: 10
13+
---
14+
15+
# Translate plugins
16+
17+
The Grafana UI can be [displayed in several languages](https://grafana.com/docs/grafana/latest/administration/organization-preferences/#change-grafana-language). You can find the [list of available languages](https://github.com/grafana/grafana/blob/main/packages/grafana-i18n/src/constants.ts) in GitHub.
18+
19+
By default, plugins are available in English only and are not translated when you change your language settings. To learn how to translate your plugin, refer to the [Translate your plugin](../how-to-guides/plugin-internationalization.md) how-to guide.
20+
21+
:::note
22+
Grafana uses the [i18next internationalization framework](https://www.i18next.com/) for translation purposes.
23+
:::
24+
25+
26+

docusaurus/website/sidebars.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ const sidebars: SidebarsConfig = {
4343
'key-concepts/data-frames',
4444
'key-concepts/npm-dependencies',
4545
'key-concepts/ui-extensions',
46+
'key-concepts/plugin-i18n-concept',
4647
],
4748
},
4849
{

0 commit comments

Comments
 (0)