Hi,
I am trying to write condition to check $ContentLocale in order to execute some JavaScript required by page, my website has two languages which is en_US and km_KH. I start with the following code in my template.ss but it was error.
<% control Translations %>
<% if ContentLocale == 'en-US' %>
<script type="text/javascript" src="/themes/cambo/scripts/conden.font.js"></script>
<% end_if %>
<% end_control %>
I really need help otherwise I can't sleep.
Bunheng