Skip to content

Google translate and exported HTML #344

@ToonTalk

Description

@ToonTalk

A potentially great feature of the web version is that models can be automatically translated to over 100 languages.

When I load

http://www.netlogoweb.org/web?http://m.modelling4all.org/p/9oJf503_AM446-E7xFl25g.nlogo

nothing is translated. When I export the HTML and load it then sliders and text widgets are translated from German to English while all the graphs remain in German. This is in Chrome in Window 7.

More significantly the author of the page, Andreas ([email protected]), says that when the page is translated a monitor stays at 0 unlike when running with translation turned off. And one of the graphs was missing one of its plots.

Also when I tried to enter the original URL into Google Translate I get errors:

https://translate.google.co.uk/translate?sl=de&tl=en&js=y&prev=_t&hl=en&ie=UTF-8&u=http%3A%2F%2Fwww.netlogoweb.org%2Fweb%3Fhttp%3A%2F%2Fm.modelling4all.org%2Fp%2F9oJf503_AM446-E7xFl25g.nlogo&edit-text=

notranslate can be added to the class of any DOM element that shouldn't be translated.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions