| Auszug |
|---|
|
Nuclos language files: properties, ResourceBundle, Jaspersoft Studio, $R{}, Bundle.properties, form, subforms, locale. |
Language: Deutsch · English
Creating language files
Multilingual reports/forms – create a ResourceBundle in Jaspersoft Studio and embed it via $R{}.
| Status |
|---|
| colour | Blue |
|---|
| title | Application developer |
|---|
|
| Status |
|---|
| colour | Green |
|---|
| title | Stand: Jul 2026 |
|---|
|
| Status |
|---|
| colour | Grey |
|---|
| title | gilt fuer Nuclos 4.2026.x |
|---|
|
What is a language file?
A properties file (.properties) is a simple text file that JasperReports uses via the ResourceBundle mechanism. The easiest way to create one is in Jaspersoft Studio.
Create a ResourceBundle in Jaspersoft Studio
- Right-click a project → New → Other.
- Choose Messages Editor → Resource Bundle, Next.
- Set the folder and base name, add the desired languages, Finish.
- One
.properties file per language is created (base name + country code). - Add keys via right-click → Append… and enter values per language.

ResourceBundle main view with languages.
In the form, translatable spots are defined as text fields with a key:
| Codeblock |
|---|
|
anfrage.thema = Anfrage # in Bundle_de.properties
$R{anfrage.thema} # in the form |
| Warnung |
|---|
|
In the form property, enter the base name without .properties (e.g. Bundle). The Java ResourceBundle mechanism automatically picks Bundle_de, Bundle_en etc. based on the locale. This setting must also be set for all subforms! |
The form is loaded via Configuration → Report → Form or Report. For another language, clone the record and assign the other language. Further locales can be added at any time.
Related pages