Open a0c opened 8 years ago
lang from cookies always takes precedence if lang not specified in url. so lang attribute + class js_change_lang must be specified on lang element.
listener of js_change_lang rewrites href by adding lang to it taken from html element .
Tested it's working!
Thanks :+1:
lang from cookies always takes precedence if lang not specified in url. so lang attribute + class js_change_lang must be specified on lang element.
listener of js_change_lang rewrites href by adding lang to it taken from html element .