Google Translate API

Language Translationin Angular Apps

Bridge the gap for global audiences with specialized Google Translate integrations for high-precision, real-time language translation.

EN

English

Hello, World!

TE

Telugu

హలో, ప్రపంచం!

HI

Hindi

नमस्ते, दुनिया!

JA

Japanese

こんにちは世界!

ES

Spanish

¡Hola, Mundo!

Gagri Global IT services is having a team of executives who have good experience in developing applications on various platforms like SharePoint 2013/2010, Silverlight, .NET Framework 4.5 and Mobile tools.

Custom google translate languages(English, Telugu, Hindi)

Published on October 18, 2023 by Upendra

//Include jQuery library (if not already included)
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>

//JavaScript function to initialize the Google Translate widget //
<script type="text/javascript">
function googleTranslateElementInit() {

    // Create a new instance of the Google Translate widget
    new google.translate.TranslateElement({

        // Set the default language of the page
        pageLanguage: 'en',

        // Specify the languages available for translation
        includedLanguages: 'en,hi,te' // English, Hindi, Telugu

    }, 'google_translate_element');
}
</script>

// Include the Google Translate script with a callback to the initialization function
<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>