-
Notifications
You must be signed in to change notification settings - Fork 894
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[i18n] Add additional translations for de-DE, es-ES, fr-FR, id-ID, it…
…-IT, js-JP, ko-KR, pt-PT, tr-TR, zh-CN, and zh-TW (#8788) * [i18n-dev] Allow updating existing localization files when importing with "i18n:integrate" Signed-off-by: Miki <[email protected]> * [i18n] Add additional translations for de-DE, es-ES, fr-FR, id-ID, it-IT, ja-JP, ko-KR, pt-PT, tr-TR, zh-CN, and zh-TW Signed-off-by: Miki <[email protected]> * Changeset file for PR #8788 created/updated --------- Signed-off-by: Miki <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> (cherry picked from commit 87832f3) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
04be541
commit a798149
Showing
21 changed files
with
27,387 additions
and
772 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
feat: | ||
- [i18n-dev] Allow updating existing localization files when importing with "i18n:integrate" ([#8788](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8788)) | ||
- [i18n] Add additional translations for de-DE, es-ES, fr-FR, id-ID, it-IT, pt-PT, and tr-TR ([#8788](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8788)) | ||
- [i18n] Add additional translations for ja-JP, ko-KR, zh-CN, and zh-TW ([#8788](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8788)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
64
src/dev/i18n/__fixtures__/integrate_locale_files/destination/tr.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"formats": { | ||
"number": { | ||
"currency": { | ||
"style": "currency" | ||
}, | ||
"percent": { | ||
"style": "percent" | ||
} | ||
}, | ||
"date": { | ||
"short": { | ||
"month": "numeric", | ||
"day": "numeric", | ||
"year": "2-digit" | ||
}, | ||
"medium": { | ||
"month": "short", | ||
"day": "numeric", | ||
"year": "numeric" | ||
}, | ||
"long": { | ||
"month": "long", | ||
"day": "numeric", | ||
"year": "numeric" | ||
}, | ||
"full": { | ||
"weekday": "long", | ||
"month": "long", | ||
"day": "numeric", | ||
"year": "numeric" | ||
} | ||
}, | ||
"time": { | ||
"short": { | ||
"hour": "numeric", | ||
"minute": "numeric" | ||
}, | ||
"medium": { | ||
"hour": "numeric", | ||
"minute": "numeric", | ||
"second": "numeric" | ||
}, | ||
"long": { | ||
"hour": "numeric", | ||
"minute": "numeric", | ||
"second": "numeric", | ||
"timeZoneName": "short" | ||
}, | ||
"full": { | ||
"hour": "numeric", | ||
"minute": "numeric", | ||
"second": "numeric", | ||
"timeZoneName": "short" | ||
} | ||
} | ||
}, | ||
"messages": { | ||
"plugin-1.message-id-1": "Old translated text 1", | ||
"plugin-2.message-id-1": "Old translated text 1", | ||
"plugin-2.message-id-2": "Old translated text 2", | ||
"plugin-3.message-id-1": "Old translated text 1" | ||
} | ||
} |
65 changes: 65 additions & 0 deletions
65
src/dev/i18n/__fixtures__/integrate_locale_files/missing_formats.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"messages": { | ||
"plugin-1.message-id-1": "Translated text 1", | ||
"plugin-1.message-id-2": "Translated text 2", | ||
"plugin-2.message-id-1": "Translated text 1", | ||
"plugin-2.message-id-2": "Translated text 2", | ||
"plugin-4.message-id-1": "Translated text 1" | ||
}, | ||
"invalid": { | ||
"number": { | ||
"currency": { | ||
"style": "currency" | ||
}, | ||
"percent": { | ||
"style": "percent" | ||
} | ||
}, | ||
"date": { | ||
"short": { | ||
"month": "numeric", | ||
"day": "numeric", | ||
"year": "2-digit" | ||
}, | ||
"medium": { | ||
"month": "short", | ||
"day": "numeric", | ||
"year": "numeric" | ||
}, | ||
"long": { | ||
"month": "long", | ||
"day": "numeric", | ||
"year": "numeric" | ||
}, | ||
"full": { | ||
"weekday": "long", | ||
"month": "long", | ||
"day": "numeric", | ||
"year": "numeric" | ||
} | ||
}, | ||
"time": { | ||
"short": { | ||
"hour": "numeric", | ||
"minute": "numeric" | ||
}, | ||
"medium": { | ||
"hour": "numeric", | ||
"minute": "numeric", | ||
"second": "numeric" | ||
}, | ||
"long": { | ||
"hour": "numeric", | ||
"minute": "numeric", | ||
"second": "numeric", | ||
"timeZoneName": "short" | ||
}, | ||
"full": { | ||
"hour": "numeric", | ||
"minute": "numeric", | ||
"second": "numeric", | ||
"timeZoneName": "short" | ||
} | ||
} | ||
} | ||
} |
65 changes: 65 additions & 0 deletions
65
src/dev/i18n/__fixtures__/integrate_locale_files/missing_messages.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"invalid": { | ||
"plugin-1.message-id-1": "Translated text 1", | ||
"plugin-1.message-id-2": "Translated text 2", | ||
"plugin-2.message-id-1": "Translated text 1", | ||
"plugin-2.message-id-2": "Translated text 2", | ||
"plugin-4.message-id-1": "Translated text 1" | ||
}, | ||
"formats": { | ||
"number": { | ||
"currency": { | ||
"style": "currency" | ||
}, | ||
"percent": { | ||
"style": "percent" | ||
} | ||
}, | ||
"date": { | ||
"short": { | ||
"month": "numeric", | ||
"day": "numeric", | ||
"year": "2-digit" | ||
}, | ||
"medium": { | ||
"month": "short", | ||
"day": "numeric", | ||
"year": "numeric" | ||
}, | ||
"long": { | ||
"month": "long", | ||
"day": "numeric", | ||
"year": "numeric" | ||
}, | ||
"full": { | ||
"weekday": "long", | ||
"month": "long", | ||
"day": "numeric", | ||
"year": "numeric" | ||
} | ||
}, | ||
"time": { | ||
"short": { | ||
"hour": "numeric", | ||
"minute": "numeric" | ||
}, | ||
"medium": { | ||
"hour": "numeric", | ||
"minute": "numeric", | ||
"second": "numeric" | ||
}, | ||
"long": { | ||
"hour": "numeric", | ||
"minute": "numeric", | ||
"second": "numeric", | ||
"timeZoneName": "short" | ||
}, | ||
"full": { | ||
"hour": "numeric", | ||
"minute": "numeric", | ||
"second": "numeric", | ||
"timeZoneName": "short" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"messages": { | ||
"plugin-1.message-id-1": "Translated text 1", | ||
"plugin-1.message-id-2": "Translated text 2", | ||
"plugin-2.message-id-1": "Translated text 1", | ||
"plugin-4.message-id-1": "Translated text 1" | ||
} | ||
} |
90 changes: 90 additions & 0 deletions
90
src/dev/i18n/__snapshots__/integrate_locale_files.test.ts.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.