Skip to content

Commit 6ef43d3

Browse files
committed
RHIDP-8634-2 - [testday] Localization: Update enablement and language selection
1 parent 3b42cd3 commit 6ef43d3

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

assemblies/assembly-localization-in-rhdh.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
:_mod-docs-content-type: ASSEMBLY
2+
:context: assembly-localization-in-rhdh
23

34
[id="assembly-localization-in-rhdh_{context}"]
45
= Localization in {product}

modules/customizing-the-appearance/proc-enabling-localization-in-rhdh.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@ The language settings of {product} ({product-very-short}) use English by default
1818
.`{my-app-config-file}` fragment with localization `i18n` fields
1919
[source,yaml,subs="+quotes"]
2020
----
21+
...
2122
i18n:
2223
locales: # List of supported locales. Must include `en`, otherwise the translation framework will fail to load.
2324
- en
2425
- fr
2526
defaultLocale: en # Optional. Defaults to `en` if not specified.
27+
...
2628
----

modules/customizing-the-appearance/proc-overriding-translations.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ In {product-very-short} 1.8, you can override plugin translation strings without
1212
// This feature is not being included in 1.8
1313
// . In the top user menu, go to *Settings* > *General*.
1414
// . Click on the download link in the *Translations* panel to download the default English translation strings.
15-
. Create a translation stings file containing all your translation as shown in the following example:
15+
. Create a JSON file containing the translation strings that you want to override, as shown in the following example:
1616
+
1717
[id=i18n-enable]
1818
.`allTranslations.json` fragment with translation string overrides

modules/customizing-the-appearance/proc-select-rhdh-language.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ You can choose to use one of the following supported languages:
1111
.Prerequisites
1212

1313
* You are logged in to the {product-short} web console.
14+
* You have xref:proc-enabling-localization-in-rhdh_{context}[enabled the localization framework] in your {product-very-short} instance.
1415

1516
.Procedure
1617

17-
. From the {product-short} web console, click *Settings*.
18+
. From the {product-short} web console, click the down arrow next to your profile name, then click *Settings*.
1819
. From the *Appearance* panel, click the language dropdown to select your language of choice.
1920
+
2021
image::rhdh/customize-language-dropdown.png[]

0 commit comments

Comments
 (0)