Patching text resources allows to add or override generated text resources.

Parent

To patch text resources resource bundles for the supported locales are placed in the folder projectdoc-models/patch/l10n.

The name of the properties files for the resource bundle need to follow the following naming scheme:

text-resources${locale}.properties

For the default locale use text-resources.properties.

 

The directory layout with text resource bundles for patching looks like this.

A replaced property will be commented with "PATCHED!", new text resources will be added under the comment "Patched Resources - note that overridden resources are replaced, marked with PATCHED!."