Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gdakram/393869 to your computer and use it in GitHub Desktop.
Save gdakram/393869 to your computer and use it in GitHub Desktop.
<script type="text/javascript">
//--<![CDATA[
$j(document).ready(function(){
var citizen_id = CookieManager.read("QaAuth_QaCookie").replace(/_\d+/,"");
$j.ajax({
url : "/qaws/set_language_version/"+citizen_id,
type : "POST",
dataType : "script",
data : "language_version_id=2"
});
});
//--]]>
</script>
@gdakram
Copy link
Author

gdakram commented May 7, 2010

For Easy Reading, you will replace language_version_id, like so...
data : "language_version_id=1"
If you want to reset the language version preference, just delete the data line. In that case, please sure to delete the trailing comma in the line before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment