Skip to content
This repository was archived by the owner on Jun 8, 2026. It is now read-only.

Commit 57ba6c8

Browse files
docs(jp/dock-manager): sync i18n resource strings peer dependency clarification
Sync Japanese translation to match English changes from PR #1936: - Update localization section first paragraph to match new English text (reads lang attr from root html element; removed outdated built-in list) - Add peer dependency paragraph for igniteui-i18n-resources in WebComponents section - Add registerI18n code example for using built-in language bundles - Update addResourceStrings paragraph to clarify it's for custom/other languages Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent e374c84 commit 57ba6c8

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

doc/jp/components/layouts/dock-manager.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -912,10 +912,19 @@ igc-dockmanager::part(content-pane) {
912912

913913
## ローカライズ
914914

915-
ドック マネージャー コンポーネントは、コンテキスト メニュー、ツールチップ、および aria 属性で使用される文字列のローカライズをサポートします。デフォルトでは、ドック マネージャー はその親の [lang](https://developer.mozilla.org/ja/docs/Web/HTML/Global_attributes/lang) 属性を検索してページの言語を検出します。[lang](https://developer.mozilla.org/ja/docs/Web/HTML/Global_attributes/lang) 属性が設定されていないか、ドック マネージャーがサポートしない値に設定されている場合、デフォルトの言語は [英語 (en)]({environment:infragisticsBaseUrl}/products/ignite-ui/dock-manager/docs/typescript/latest/index.html#IgcDockManagerResourceStringsEN) です。ドック マネージャーは、[英語 (en)]({environment:infragisticsBaseUrl}/products/ignite-ui/dock-manager/docs/typescript/latest/index.html#IgcDockManagerResourceStringsEN)、[日本語 (jp)]({environment:infragisticsBaseUrl}/products/ignite-ui/dock-manager/docs/typescript/latest/index.html#IgcDockManagerResourceStringsJP)、[韓国語 (ko)]({environment:infragisticsBaseUrl}/products/ignite-ui/dock-manager/docs/typescript/latest/index.html#IgcDockManagerResourceStringsKO)、[スペイン語 (es)]({environment:infragisticsBaseUrl}/products/ignite-ui/dock-manager/docs/typescript/latest/index.html#IgcDockManagerResourceStringsES) の組み込みローカライズ文字列を提供します。
915+
ドック マネージャーは、コンテキスト メニュー、ツールチップ、および ARIA 属性で使用される文字列のローカライズをサポートします。デフォルトでは、ルートの `<html>` 要素の [lang](https://developer.mozilla.org/ja/docs/Web/HTML/Global_attributes/lang) 属性を読み取って使用する言語を決定します。[lang](https://developer.mozilla.org/ja/docs/Web/HTML/Global_attributes/lang) 属性が設定されていないか、サポートされていない値に設定されている場合、ドック マネージャーは [英語 (en)]({environment:infragisticsBaseUrl}/products/ignite-ui/dock-manager/docs/typescript/latest/index.html#IgcDockManagerResourceStringsEN) を使用します。
916916

917917
<!-- WebComponents -->
918-
その他の言語のリソース文字列を提供するには、[addResourceStrings]({environment:infragisticsBaseUrl}/products/ignite-ui/dock-manager/docs/typescript/latest/index.html#addResourceStrings) メソッドを使用します。
918+
スペイン語 (`es`)、日本語 (`ja`)、韓国語 (`ko`) の既製のドック マネージャー リソース文字列は、`igniteui-i18n-resources` ピア依存関係を通じて提供されます。これらの言語のいずれかを使用するには、`igniteui-i18n-resources` をインストールし、対応するバンドルを `igniteui-i18n-core` に登録します:
919+
920+
```ts
921+
import { registerI18n } from 'igniteui-i18n-core';
922+
import { DockManagerResourceStringsES } from 'igniteui-i18n-resources';
923+
924+
registerI18n(DockManagerResourceStringsES, 'es');
925+
```
926+
927+
別の言語をサポートする必要がある場合は、[addResourceStrings]({environment:infragisticsBaseUrl}/products/ignite-ui/dock-manager/docs/typescript/latest/index.html#addResourceStrings) メソッドを使用して独自の翻訳済み文字列を提供します:
919928

920929
```ts
921930
import { addResourceStrings } from 'igniteui-dockmanager';

0 commit comments

Comments
 (0)