I'm new in Grails and try to use the i18n-plugin which is standardly integrated in the grails-framework (I use 2.2.1). I use the dynamic scaffolding and wondered that the labels of the variables of my domain model didn't changed with the values of the properties-file. That's why I tried to use the message-tag directly. But both ways don't work. I didn't change any configuration. I take a simple view an add:
<g:message code=„my.test.de.label“ />
And I add in the message.properties and message_de.properties the following entry:
test.de.label=testDE
I opened the url with the "?lang=de" and without this parameter and nothing work. Also the labeling of the domain model via dynamic scollding didn't work. If I this g:message-tag with a code which is standardly in the propertie-file everthing is fine. And I don't understand why my custom-label don't work.
Question: - Is there any configuration I have to do? - Is there any code-error I made?