How can I add a new language in Liferay 7?

后端 未结 1 781
猫巷女王i
猫巷女王i 2021-01-20 04:30

My problem is how to add new language like thailand language in liferay 7. When I inspect the existing flag I see that the image is not png but it is svg, but

1条回答
  •  感动是毒
    2021-01-20 04:53

    Assuming that you have followed all the steps in this Liferay blog, adding the flag in Liferay 7 requires:

    1. Create a new theme, or modify existing theme to :

      • add your flag file in SVG format as images\lexicon\flags-xx-YY.svg (where xx-YY is your locale, case-sensitive)
      • open the file icons.svg in the same folder and add your flag SVG elements as a symbol among the other symbol elements:

        1. Deploy, or re-deploy, the theme and choose it as the active theme for the pages you want.

        2. Clear the browser cache if needed.

    0 讨论(0)
提交回复
热议问题