0

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?

Quality Catalyst
  • 6,531
  • 8
  • 38
  • 62
p.hevia
  • 51
  • 1
  • 1
  • 5
  • https://meta.stackexchange.com/questions/141823/is-cross-posting-wrong-to-an-external-site – Olaf Kock Aug 17 '17 at 07:55
  • You are expected to **try to write the code yourself**. After [**doing more research**](https://meta.stackoverflow.com/q/261592/1011527) 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](http://stackoverflow.com/help/mcve). Read [How to Ask](http://stackoverflow.com/help/how-to-ask) a good question. Be sure to [take the tour](http://stackoverflow.com/tour) and read [this](https://meta.stackoverflow.com/q/347937/1011527). – Jay Blanchard Aug 29 '17 at 18:36

2 Answers2

2

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?

Akber Choudhry
  • 1,755
  • 16
  • 24
  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – Jay Blanchard Aug 29 '17 at 18:36
1

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.

Dipti Ranparia
  • 570
  • 5
  • 17