Google translate and exported HTML
Nobody has claimed this yet.
- Dominant language
- CoffeeScript
- Stars
- 65
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
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 (andreasdueringarch@gmail.com), 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:
notranslate can be added to the class of any DOM element that shouldn't be translated.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the linked model in Chrome by comparing the web version, exported HTML, and Google Translate URL. Check the translated monitor and graph behavior, including the missing plot and untranslated graph labels. Done means translation works consistently without changing monitor values or graph contents.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- coffeescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100