This is an automated email from the ASF dual-hosted git repository.
kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git
The following commit(s) were added to refs/heads/master by this push:
new 44a729e6f Update internationalization-support-i18n.md
44a729e6f is described below
commit 44a729e6f42c78084b8fb57c95c30e480eeedbff
Author: Konrad Windszus <[email protected]>
AuthorDate: Mon May 5 10:25:39 2025 +0200
Update internationalization-support-i18n.md
Clarify default base name
---
.../documentation/bundles/internationalization-support-i18n.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/src/main/jbake/content/documentation/bundles/internationalization-support-i18n.md
b/src/main/jbake/content/documentation/bundles/internationalization-support-i18n.md
index d1b9b0fc2..9703e4e21 100644
---
a/src/main/jbake/content/documentation/bundles/internationalization-support-i18n.md
+++
b/src/main/jbake/content/documentation/bundles/internationalization-support-i18n.md
@@ -144,7 +144,7 @@ The base name argument can take one three values:
| Value | `ResourceBundle` selection |
|---|---|
-| `null` | Selects messages of `mix:language` nodes ignoring the existence or
absence of `sling:basename` properties |
+| `null` | Selects messages of `mix:language` nodes ignoring the existence or
absence of `sling:basename` properties. This is also used when
`getResourceBundle(Locale)` is called. |
| Empty String | Selects messages of `mix:language` nodes which have
`sling:basename` properties, ignoring the actual values |
| Any other Value | Selects messages of `mix:language` nodes whose
`sling:basename` properties has any value which matches the base name string |
@@ -178,9 +178,9 @@ So for the locale `de-DE-MAC` the fallback order would be
In case there is a resource bundle requested for a locale without country or
variant, there is only 1 fallback (i.e. the default locale).
The last resort (root resource bundle in all hierarchies) is always the bundle
which returns the requested key as the value.
-#### Locate non JCR based ResourceBundle resources
+### OSGi bundle based ResourceBundle resources
-Since version 2.5.16 the i18n bundle supports locating ResourceBundle
resources that exist outside of the JCR repository. A new osgi.extender
technique can be utilized so that a bundle can declare certain paths that
should be traversed to locate ResourceBundle resources.
+Since [version 2.5.16]() the i18n bundle supports locating ResourceBundle
resources that exist outside of the JCR repository. A new osgi.extender
technique can be utilized so that an OSGi bundle can declare certain paths that
should be traversed to locate ResourceBundle resources.
For example, the bundle providing the ResourceBundle resources can define
something like this: