Foros de discusión

Need to Change Language in Calendar Portlet

thumbnail
Mani kandan, modificado hace 12 años.

Need to Change Language in Calendar Portlet

Expert Mensajes: 492 Fecha de incorporación: 15/09/10 Mensajes recientes
Anyone knows about how to change the calendar portlet to other language like Islamic(Hijri Calendar) etc.,?
thumbnail
Rojalin Patri, modificado hace 12 años.

RE: Need to Change Language in Calendar Portlet

Expert Mensajes: 287 Fecha de incorporación: 22/03/11 Mensajes recientes
Hi,
you can do it by creating language-ext.properties in WEB-INF/classes and override the default language.Ex: anniversary=مناسبة سنوية in arabic.
Hope this helps....
thumbnail
Mani kandan, modificado hace 12 años.

RE: Need to Change Language in Calendar Portlet

Expert Mensajes: 492 Fecha de incorporación: 15/09/10 Mensajes recientes
Rojalin Patri:
Hi,
you can do it by creating language-ext.properties in WEB-INF/classes and override the default language.Ex: anniversary=مناسبة سنوية in arabic.
Hope this helps....



Hi,
Thanks for your reply, the problem is I don't want to change the entire Liferay. I need to change only for Calendar Portlet, Is it Possible?
thumbnail
Pranay R Patadiya, modificado hace 12 años.

RE: Need to Change Language in Calendar Portlet

Regular Member Mensajes: 177 Fecha de incorporación: 23/02/10 Mensajes recientes
Hi,
You can change the local of the portlet which you want.

Thanks,
Pranay Patadiya
thumbnail
Rojalin Patri, modificado hace 12 años.

RE: Need to Change Language in Calendar Portlet

Expert Mensajes: 287 Fecha de incorporación: 22/03/11 Mensajes recientes
Hi Mani,
only the terms declared in ext will override the default one.The rest terms will remain in English(the default).
thumbnail
Mani kandan, modificado hace 12 años.

RE: Need to Change Language in Calendar Portlet

Expert Mensajes: 492 Fecha de incorporación: 15/09/10 Mensajes recientes
Rojalin Patri:
Hi Mani,
only the terms declared in ext will override the default one.The rest terms will remain in English(the default).


Could you post the example how to change the language in Calendar Portlet?
thumbnail
Mani kandan, modificado hace 12 años.

RE: Need to Change Language in Calendar Portlet

Expert Mensajes: 492 Fecha de incorporación: 15/09/10 Mensajes recientes
Pranay R Patadiya:
Hi,
You can change the local of the portlet which you want.

Thanks,
Pranay Patadiya


Local of the portlet means where can i change can you pls tell me in detail?
thumbnail
Thiago Leão Moreira, modificado hace 12 años.

RE: Need to Change Language in Calendar Portlet

Liferay Legend Mensajes: 1449 Fecha de incorporación: 10/10/07 Mensajes recientes
The best way to achieve this is use a hook plugin: http://www.liferay.com/documentation/liferay-portal/6.0/development/-/ai/hooks
thumbnail
Mani kandan, modificado hace 12 años.

RE: Need to Change Language in Calendar Portlet

Expert Mensajes: 492 Fecha de incorporación: 15/09/10 Mensajes recientes
Hi Thiago,

Look this calendar Hijri Calendar

And see the date and month version its has been changed to Islamic date version.

I need this same in Liferay Calendar, I can able to change the text and other keywords.

But I cant change the date version of the default one.

Any help from Liferay people?emoticon
thumbnail
Thiago Leão Moreira, modificado hace 12 años.

RE: Need to Change Language in Calendar Portlet

Liferay Legend Mensajes: 1449 Fecha de incorporación: 10/10/07 Mensajes recientes
Hey Mani,

I'm sorry but I won't be able to help you since I'm not aware of Islamic calendar.
Pooja Joshi, modificado hace 8 años.

RE: Need to Change Language in Calendar Portlet

New Member Mensajes: 2 Fecha de incorporación: 27/07/15 Mensajes recientes
Hi Mani,

Did you find any solution to this? Are you able to change calendar to islamic calendar?

Thanks