Template talk:Google translation/doc
This is the talk page for discussing improvements to the Google translation/doc template. |
|
I cannot get the old example to work
[edit]The document page for {{Google translation}} showed an example which does not appear to actually work:
Example : {{Google translation|en|zh-CN|http://www.changdu.gov.cn/pic_list.php?id=2050}} gives Google translation
The example cheats by not actually using {{Google translation}} to display the link. When I tried using the template code in a table of examples I'm editing for Template:Google translation/doc, the example did not work. Here it is:
By playing around a bit, I found that the template tries to work if I remove the "?" character from the URL of the page to translate, but then we are not translating the page at the original URL:
I tried adding a {{urlencode: }}
around the URL argument in the template, but that made no difference so I removed my change. Since I cannot see how to get the example to work, I did not use it in the table of examples I'm editing for Template:Google translation/doc. --Teratornis (talk) 04:03, 5 March 2008 (UTC)
- I know this is an old question, but try specifying the "3" parameter explicitly, i.e.,
{{Google translation|en|zh-CN|3=http://www.changdu.gov.cn/pic_list.php?id=2050}}
- which results in