Translation-Library Components

A Translation-Library is made up of a jar/directory containg the following components:

Resource Description Required
/META-INF/translation-library.xml The descriptor which describes the components of the translation-library and allows the framework to find the translation-library. Yes
/translations/<translation name>/*.vsl (i.e. /translations/query/Hibernate-QL.vsl) Any templates used to map translation fragments to OCL expression fragments defined within a Translator class. Each translation template is also an XML document which must comply with the translation schema. Yes
/*.class files Java *.class files for the Translator object(s) (and any support classes) used for translation (translator objects must implement Translator) Yes