Translation plugin doesn't translate webpages
Bug #511877 reported by
marcog
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ibid |
Fix Released
|
Wishlist
|
Max Rabkin |
Bug Description
13:31 < epochfail> tibid, translate http://
13:31 < tibid> epochfail: http://
13:31 < epochfail> :( l2url
Perhaps it could return a link to a translated page?
Related branches
lp:~max-rabkin/ibid/url-translate
- Jonathan Hitchcock: Approve
- Stefano Rivera: Approve
- Michael Gorven: Approve
-
Diff: 138 lines (+48/-16)3 files modifiedibid/plugins/languages.py (+15/-2)
ibid/plugins/urlgrab.py (+3/-14)
ibid/utils/__init__.py (+30/-0)
Changed in ibid: | |
importance: | Undecided → Wishlist |
milestone: | none → 0.2 |
summary: |
- Translate webpage + Translation plugin doesn't translate webpages |
Changed in ibid: | |
status: | New → Triaged |
Changed in ibid: | |
assignee: | nobody → Max Rabkin (max-rabkin) |
milestone: | 0.2 → 0.1 |
status: | Triaged → Fix Released |
To post a comment you must log in.
The hard part of this is determining what is a URL. Once we've got that, just substitute it into "http:// translate. google. com/translate? sl=%(src_ lang)s& tl=%(dest_ lang)s& u=%(url) s".
Also, only HTTP URLs can be translated (currently). Should we explicitly reject other URL schemas or just fall back to the current behaviour?