Fórum
Edit Permissions : 'model.resources.XXX' not translated correctly
Stef Heyenrath, modificado 14 Anos atrás.
Edit Permissions : 'model.resources.XXX' not translated correctly
Junior Member Postagens: 76 Data de Entrada: 03/12/08 Postagens Recentes
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, modificado 9 Anos atrás.
RE: Edit Permissions : 'model.resources.XXX' not translated correctly
New Member Postagens: 10 Data de Entrada: 16/04/14 Postagens Recentes
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, modificado 9 Anos atrás.
RE: Edit Permissions : 'model.resources.XXX' not translated correctly
Liferay Master Postagens: 541 Data de Entrada: 01/12/08 Postagens Recentes
Lucian Alexandrescu, modificado 9 Anos atrás.
RE: Edit Permissions : 'model.resources.XXX' not translated correctly
New Member Postagens: 10 Data de Entrada: 16/04/14 Postagens Recentes
It works...
Thanks!
Thanks!
Raju oukanti, modificado 9 Anos atrás.
RE: Edit Permissions : 'model.resources.XXX' not translated correctly
Regular Member Postagens: 143 Data de Entrada: 21/02/12 Postagens Recentes
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