Foren
Edit Permissions : 'model.resources.XXX' not translated correctly
Stef Heyenrath, geändert vor 14 Jahren.
Edit Permissions : 'model.resources.XXX' not translated correctly
Junior Member Beiträge: 76 Beitrittsdatum: 03.12.08 Neueste Beiträge
I've created an own entity using the service-builder from liferay.
Entity classname is : "com.liferay.training.library.model.Book"
The translation is added to the /content/Language.properties, /content/Language_en.properties as this key:
But the translation does not work !
See screenshot:
The only way to get it working is to modify the language files inside the 'portal-impl.jar' and restart the server.
But I don't think that's the correct way of working.
Can somebody please help me, or give an example ?
Entity classname is : "com.liferay.training.library.model.Book"
The translation is added to the /content/Language.properties, /content/Language_en.properties as this key:
model.resource.com.liferay.training.library.model.Book=BOOK
But the translation does not work !
See screenshot:
The only way to get it working is to modify the language files inside the 'portal-impl.jar' and restart the server.
But I don't think that's the correct way of working.
Can somebody please help me, or give an example ?
Lucian Alexandrescu, geändert vor 9 Jahren.
RE: Edit Permissions : 'model.resources.XXX' not translated correctly
New Member Beiträge: 10 Beitrittsdatum: 16.04.14 Neueste Beiträge
Hi Stef,
I have the same problem.
Have you found another solution?
Thanks!
Lucian
I have the same problem.
Have you found another solution?
Thanks!
Lucian
Jeffrey Handa, geändert vor 9 Jahren.
RE: Edit Permissions : 'model.resources.XXX' not translated correctly
Liferay Master Beiträge: 541 Beitrittsdatum: 01.12.08 Neueste Beiträge
Lucian Alexandrescu, geändert vor 9 Jahren.
RE: Edit Permissions : 'model.resources.XXX' not translated correctly
New Member Beiträge: 10 Beitrittsdatum: 16.04.14 Neueste Beiträge
It works...
Thanks!
Thanks!
Raju oukanti, geändert vor 9 Jahren.
RE: Edit Permissions : 'model.resources.XXX' not translated correctly
Regular Member Beiträge: 143 Beitrittsdatum: 21.02.12 Neueste Beiträge
Hi,
You can do with portal-ext.properties file by overriding through either with ext or hook.
Thanks,
Raju
You can do with portal-ext.properties file by overriding through either with ext or hook.
Thanks,
Raju