Skip to content
Novus Examples
properties934 B

Java ResourceBundle .properties — German

A German Java ResourceBundle with MessageFormat patterns, a ChoiceFormat plural, positional arguments, escaped braces and apostrophes, a backslash line continuation, and non-ASCII carried as \uXXXX escapes because .properties is defined as ISO-8859-1. The bytes on disk are pure ASCII.

Preview — first 23 linesproperties
# Novus example app - Java ResourceBundle (de)
# Encoding: ISO-8859-1 with \uXXXX escapes. Umlauts below are escaped, not literal UTF-8 bytes:
#   \u00e4 = a-umlaut, \u00f6 = o-umlaut, \u00fc = u-umlaut, \u00df = sharp s.

app.name = Novus Dateimanager
greeting = Hallo, {0}!

files.count = {0,choice,0#Keine Dateien|1#Eine Datei|1<{0,number,integer} Dateien}
disk.free = {0,number,#.##} GB von {1,number,#.##} GB frei

# German reorders the two arguments relative to English - the indexes prove it.
move.confirm = {0} nach {1} verschieben?
replace.confirm = {1} anstelle von {0} einsetzen?

quote.demo = Das ist die Datei des Benutzers
brace.demo = Verwenden Sie '{'name'}' als Platzhalter
continued.line = Dieser Wert geht \
    in einer zweiten Zeile weiter

# Escaped umlauts: "Einstellungen f\u00fcr Benutzerkonten"
settings.accounts = Einstellungen f\u00fcr Benutzerkonten
error.notfound = Datei nicht gefunden: \u201e{0}\u201c

Specifications

Format
Java PropertyResourceBundle
Locale
de
Patterns
java.text.MessageFormat + ChoiceFormat
Encoding
ISO-8859-1, non-ASCII written as \uXXXX escapes
Ascii Only
true
Seed
20260807
Wave
p7
Line Endings
LF

Testing contract

Expected to pass
Scenario
Load with java.util.PropertyResourceBundle (or any .properties parser) and format each pattern with java.text.MessageFormat.
Expected result
Every byte is < 0x80, the \uXXXX escapes decode to the characters named in the comments, the continuation line joins into one value, and files.count selects a different ChoiceFormat branch for 0, 1 and 2.

What is a .properties file?

A .properties file is the Java configuration format: one `key=value` or `key:value` pair per line, with `#` or `!` comments, backslash line continuations, and escapes for spaces, colons, and equals signs inside keys. Keys are conventionally dot-separated to imply hierarchy, though the format itself is flat. In its original definition the file is ISO-8859-1 with `\uXXXX` escapes for anything else; modern Java tooling also reads UTF-8.

How to use this file

Use an example .properties file to test configuration and resource-bundle loaders, checking continuation lines, escaped separators inside keys, duplicate-key precedence, and correct decoding of `\uXXXX` escapes and non-ASCII values.

How to use this file for testing

“Java ResourceBundle .properties — German” is a deterministic Novus Examples fixture for Internationalization, Localization catalogs, Config parsing, Encoding detection. Parallel text and accented, multi-script content — for testing translation pipelines, Unicode handling, and localization tooling.

Documented properties for this file: seed 20260807 · ISO-8859-1, non-ASCII written as \uXXXX escapes · LF. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

Translation-catalog fixtures carry the same message set across formats, each with its native placeholder syntax. Test your i18n loader, catalog converter, or translation-memory tool, and use the RTL and CJK variants to check bidirectional text and Unicode handling.

Load the catalog with your i18n framework and verify placeholder interpolation and plural handling; the RTL and CJK variants exercise bidirectional text and font fallback.

Generated by generation/localization_p7.py. Free for any use, no attribution required — license.