Hi,
For some quality reasons I assigned to myself, I use the following
translations for my app:
MailArchiveCode.LoadingSessionClass_maxMailsNb=Max number of mails to load
in a session
mailarchive.loadingSession.fields.maxMailsNb.label=$services.localization.render('MailArchiveCode.LoadingSessionClass_maxMailsNb')
The first one has the name expected for XClass fields mapping, the second
has the name I expect for a form field translation key. But as their
content must be the same in my case, I refer the one from the second.
But when trying to display that in a page, I use:
$services.localization.render('mailarchive.loadingSession.fields.maxMailsNb.label')
... and it shows:
$services.localization.render('MailArchiveCode.LoadingSessionClass_maxMailsNb')
Is there a way around ? I tried to add "{{velocity}}" around the second
translation value, but of course it complains about nested scripts...
Thanks,
Jeremie