Fórum

How to include css for different languages in main.css

thumbnail
Ghulam Shabbir, modificado 9 Anos atrás.

How to include css for different languages in main.css

New Member Postagens: 21 Data de Entrada: 10/02/14 Postagens Recentes
Hi ,

My site has three languages, there are some css files for each language, for example panel.css, panel_ar.css and panel_ku.css. how can I include them in main.css, so it import the right css when language is switched?

I also want to know how main.css load it self, i did not see any code in portal_normal.vm which include main.css

Regards,
Abbas
thumbnail
Suresh Nimmakayala, modificado 9 Anos atrás.

RE: How to include css for different languages in main.css

Liferay Master Postagens: 690 Data de Entrada: 18/08/04 Postagens Recentes
in theme _diffs
copy main.css from /docroot/css to /docroot/_diffs/css then add them in there
Vishal Patel, modificado 9 Anos atrás.

RE: How to include css for different languages in main.css

Junior Member Postagens: 83 Data de Entrada: 24/11/14 Postagens Recentes
Hi,

There are certain ways to achieve this kind of requirements.
Please look at them here :

https://www.liferay.com/community/forums/-/message_boards/message/11524372

Hope this will help you.
thumbnail
Manali Lalaji, modificado 9 Anos atrás.

RE: How to include css for different languages in main.css

Expert Postagens: 362 Data de Entrada: 09/03/10 Postagens Recentes
Hi,

Also refer similar thread for understanding.

HTH!
thumbnail
Ghulam Shabbir, modificado 9 Anos atrás.

RE: How to include css for different languages in main.css

New Member Postagens: 21 Data de Entrada: 10/02/14 Postagens Recentes
Both referred threads are helping one, Thanks.