I am using google translate API to translate my page and have some language options like en,de,fr,it So, google shows all languages in alphabetical order in the dropdown, but I need to **show this in order the way it is write-in function. or in the custom order whatever order we like to give
<div id="google_translate_element"></div>
function googleTranslateElementInit() {
new google.translate.TranslateElement({ pageLanguage: 'en', includedLanguages: 'en,de,fr,it' }, 'google_translate_element');
}
It is showing now - English, French, German, Italy but I need to show this in German, English, French, Italy