We recently added a translate widget to our site. I'm trying to switch some content based on the current language selected.
I was provided with this script sample.
	This should get me the current language. Now I want to do something like:
	I'm just spinning my wheels. Seems like it should be simple...
							
						
					I was provided with this script sample.
Code:
	
	var current_lang = document.getElementsByTagName('html')[0].getAttribute('lang');
Code:
	
	<mvt:if expr="'es' IN g.current_lang"> // do this <mvt:else> // do something else </mvt:if>

Comment