Loading...
 
Features / Usability

Features / Usability


Functionality of the integrated machine translation

After activating the machine translation in the control panel I have an additional point in the editing area, but it is not clickable.
Translation01
What do I have to do to have one or all pages translated automatically?
How does the system know which language to translate into?

Bing Translation
Is the Bing translation still functional?
After registration I have Key1 and Key2 but they do not seem to work in the Client ID and Client Secret fields. I can enter all sorts of things there and I don't even get an error feedback.
Translation02

Google Translation
Alternatively I try Google but I would like to know the workflow first - see questions above.

United States

I am not sure the machine language feature is applicable any longer, as most modern browsers support translation on-the-fly... however, I've successfully integrated Google's translation widget (which is still free, but unsupported). You can see it in action here.

To do this, you'll need to customize the translated-lang.tpl template for your theme.

Replace this:

li class="dropdown-header">
					{tr}Machine translations{/tr}
				/li>


With something like this:

li> div>{tr}Machine Translation{/tr} div id="google_translate_element"> /div> /div> /li>


Then add the Google translation widget JS to your site

sc ript type="text/javascript">
function googleTranslateElementInit() {
  new google.translate.TranslateElement({pageLanguage: 'en'}, 'google_translate_element');
}
</sc ript>
sc ript type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></sc ript>

Tiki strips out the code in these examples, I hope you're able to still use them!

Please note that the Google translation widget no longer allows new accounts (see https://translate.google.com/intl/en/about/website/), but this may still work for you.

Good luck!

HTH,

- Rick | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.
Rick Sapir / Tiki for Smarties wrote:
I am not sure the machine language feature is applicable any longer, as most modern browsers support translation on-the-fly... however, I've successfully integrated Google's translation widget (which is still free, but unsupported). You can see it in action here.


One quick remark on Google translate: Despite it's name, Google translate does not translate anything. Google uses it's search engine to search for matching result patterns in source and target language, which is why the results are of "variable" quality. If a specific phrase is seldomly used in target language, quality deteriorates, and if a majority of texts write something incorrect, the "translation" will be just as well. Google may be ok to have a quick glimpse at a foreign text, but nothing more IMHO.


Thanks for the answers.
But I will not use the Google Translation Script approach.


Upcoming Events

1)  Wed 23 Sep 2020 14:00 GMT-0000
September TRM

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.