留言板
Language Display Customization
Hi,
I have requirement to customize the display of language options. It should show only the other available language options excluding the current language of the Portal.
For example if my portal is having the English, Hindi and Bengali language options and default language is English, then at first only Hindi & Bengali options should be displayed. Now if I select the Hindi language to display the Portal, then it should display only the English & Bengali options.
Please guide me, whether it requires a hook or not. If hooking is required where do I need to change to get the expected customization.
Regards,
I have requirement to customize the display of language options. It should show only the other available language options excluding the current language of the Portal.
For example if my portal is having the English, Hindi and Bengali language options and default language is English, then at first only Hindi & Bengali options should be displayed. Now if I select the Hindi language to display the Portal, then it should display only the English & Bengali options.
Please guide me, whether it requires a hook or not. If hooking is required where do I need to change to get the expected customization.
Regards,
Hi,
Set locales value in your portal-ext.properties file acording to your requirement.
Regards
Juhi
Set locales value in your portal-ext.properties file acording to your requirement.
locales=en_US,de_DE,es_ES
Regards
Juhi
Hi Juhi,
This is okay for me. But I think you have not got my point exactly. I already have all of my required languages option in the portal. But I want exclude the current language (which is selected) from the display options. All others will be there. So I need help in this area.
Thanks.
This is okay for me. But I think you have not got my point exactly. I already have all of my required languages option in the portal. But I want exclude the current language (which is selected) from the display options. All others will be there. So I need help in this area.
Thanks.
Hi Saikat,
For this you have to customize taglib/ui/language/page.jsp Using if condition you can select current language and display the rest.
Regards
Juhi
For this you have to customize taglib/ui/language/page.jsp Using if condition you can select current language and display the rest.
Regards
Juhi
Juhi Kumari:
Hi Saikat,
For this you have to customize taglib/ui/language/page.jsp Using if condition you can select current language and display the rest.
Regards
Juhi
Hi Juhi ,
I have the same requirement and I have made hook for two pages
language/view.jsp
and
taglib/ui/language/page.jsp
but page.jsp customization is not giving any effect.
can you please guide me..?
Thanks,
Vishal R. Panchal
Juhi Kumari:
Hi Saikat,
For this you have to customize taglib/ui/language/page.jsp Using if condition you can select current language and display the rest.
Regards
Juhi
Hi Juhi,
It worked ..!
Thank you..!
Regards,
Vishal
Hi every body
Please tell me how to find the selected language
Thanks in advance
Please tell me how to find the selected language
Thanks in advance