I've noticed in templates that I can use $Lang to output the current language. I'm trying to use this in a conditional statement such as:
<% if "$Lang" == "en" %>
$Content
<& end_if %>
I get the error:
XML Parsing Error: not well-formed
Line Number 137, Column 6: <% if "en" == "en" %>
---------------------------------^
Is there a correct way to check for this?