Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: about language selector and globe language properties
hi
i am using lifery 7.3
do any one knwo how to re-write language selecor? and i want replace the flag icon to target language word or hide the flag, but i do not know where can a create an hook to do it.
and second question is, i cannot find the word in <portal-impl.jar>\content\Language.properties, is it in other jar?
thank you
Hi ,
You can customise Language Portlet by creating your own widget template for it .
https://help.liferay.com/hc/en-us/articles/360029132571-Styling-Widgets-with-Widget-Templates.
And Language file you may need to check indiviual module for labels .
Ex. Process Builder and submission this you can find in portal-workflow module
https://github.com/liferay/liferay-portal/blob/master/modules/apps/portal-workflow/portal-workflow-lang/src/main/resources/content/Language.properties
hi Mohammed
first, thank you.
and i really do not wont complicated like that.
does it have any way just invisible all flag? like set a porperite in portal-ext.properties?
and i read article
Here Is How To Add New Language Support To Liferay 7.1
but i cannot find project type: activator
is there any way i can change language like the language hook i used before and do not need chage the oregional jar(portal-impl.jar)?
again, very thank you.
There are predefined template available for Language Portlet which you can select for removing language icon , you can goto-> configuraton->Display Setting -> Display Template->Select Long Text/Short text.
THANK YOU VEEEEEEEEEEEEEERY MUCH.
this is what i need.
but i cannot edit it in home(front) page, only in my dashboard, where can i config it and make all server's language selector's default?
again, thank you
Powered by Liferay™