Currently, I am utilizing Google's translation script and am curious if there is a method to override the translation of certain words. Some words are being translated oddly like: "paket~~POS=HEADCOMP".
<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'no',
includedLanguages: 'da,en,es,fr,sv',
layout: google.translate.TranslateElement.InlineLayout.HORIZONTAL,
gaTrack: true,
gaId: 'UA-1234567-8'
}, 'google_translate_element');
}
This is the script i'm using. Couldn't find anything specific for this question (I would like a "google" way of doing it). I have been told that it is possible without using https://cloud.google.com/translate/ , but I can't find anything relevant to this issue.