[FrontPage] [TitleIndex] [WordIndex

MessagesProperties

1. messages in deegree

deegree3 stores all locale strings in simple properties files. Each language has its own messages.properties that contains key-value pairs. The key is used as an identifier for each localizeable string. The value is the translation of the message string.

2. message.properties

messages_en.properties

FILE_NOT_FOUND=File not found.

messages_de.properties

FILE_NOT_FOUND=Datei nicht gefunden.

messages_no.properties

FILE_NOT_FOUND=Jeg har ikke funnet det datafil.

messages_nl.properties

FILE_NOT_FOUND=Bestand niet gevonden.

To assist the translator, deegree uses another messages file that describes in which context the message is used. Furthermore there is a messages file that stores all classes that use a specific message-key. The later is generated automatically with the org.deegree.i18n.ClassMessagesCreator tool.

messages_desc.properties

FILE_NOT_FOUND=Error when a given file is not found

messages_classes.properties

FILE_NOT_FOUND=org.deegee.tools.magic.Rot13File
SOME_OTHER_KEY=org.deegree.tools.magic.CreateRandomGMLApplicationSchema


CategoryDeegree3


2018-04-20 12:05