0
votes

I am working with Liferay DXP. I would like to add some flag icons to some languages.

In Liferay 6.2 I can do it with a hook which adds the flags icons in the control-panel (now for Liferay DXP is admin-theme) theme and/or classic-theme. For instance, I would like using the flag icon in web content localization.

Someone know how to do it in Liferay DXP?

2
You are expected to try to write the code yourself. After doing more research if you have a problem post what you've tried with a clear explanation of what isn't working and provide a Minimal, Complete, and Verifiable example. Read How to Ask a good question. Be sure to take the tour and read this.Jay Blanchard

2 Answers

2
votes

Flag icons are now in SVG and have to be deployed through a theme. See the answer to this question: how can i add a new language in liferay 7?

1
votes

You can add svg icon & language icon in liferay admin theme as described in this answer. This works for me, you can try this solution.