Setting another style to swap according to english once switching language
After contacting the support from WPML about the setting font style once switching language, they provided the answer as followed:
<?php if(ICL_LANGUAGE_CODE == 'en'){?>
//include English Styles
<?php }elseif(ICL_LANGUAGE_CODE == 'ar'){ ?>
//include Arabic Styles
<?php } ?>
1. I would be really appreciated if you can direct me how I can set the styles for such as H1, H1, Paragraph, etc so once we switch the language the fonts will be changed as expected.
2. How do I translate the 'Under Construction' page? http://victorycity-kh.com/
Thanks,
Sampheap
Comments
2. We`ll do it with next update of course but at this moment we`ll give you explanation below what to do. In wpml-config.xml file, please find below line: and replace it with: And for translations, of course you need to use WPML String translation tool.
Thanks for understanding!