Hi,
I am developing a French and English version of an EE version 1.6.7 website. I’m almost done but for a category page. The category page shows the category description. The category description currently uses an embed tag to embed a template containing English copy.
I want to have a French description on the French page and an English description on the English page but using a single category description field from the current blog.
English template:
http://www.gwennseemel.com/index.php/paintings/from/category/you_bag/
The French template (currently shows the English copy):
http://www.gwennseemel.com/index.php/paintings/from-fr/category/you_bag/
I saw in the user guide that I can check the sections of the URL but don’t know how I would write the PHP. Can I put an {if} statement into the description field of the category to check the page URL and display the appropriate template? If the URL contains “from-fr” then embed the French template and if it says “from” in the URL then embed the English template (see the different URLs above).
Does that make sense? If so, how would the if statement look?
Thank you!