Your code:
</script>
<script type="text/javascript">
// Load the Google Transliterate API
google.load("elements", "1", {
packages: "transliteration"
});
The code you just wrote for google-transliteration can not work in offline mode because the javascript API
you are requesting from google servers works only when you are connected with Google-transliteration
servers using internet.
I'll recommend this link for your offline support, If your website uses intranet on windows network you can visit