Is there a way to configure the widget to autodetect the source language
-
Tuesday, 13 March 2012 1:36 PM
We have installed the translator widget on our forum. One step of the config is to specify the source language. Our problem is that the source language will sometimes be English and other times Spanish. If we specify Spanish as the source language then Spanish will not be available as a translation option on the language pull down. That means when a post is created in English, the Spanish speakers cannot get it translated to Spanish.
Is there a way to tell the widget to autodetect the source language or do you have another suggestion?
- Edited by stevenospam Tuesday, 13 March 2012 1:37 PM
All Replies
-
Wednesday, 14 March 2012 7:50 PMOwner
Hi Steven,
You can force the widget to auto-detect the source language by either specifying an empty string for the source language parameter, or just not specifying the parameter.
Hope that helps,
William Lewis
Microsoft Translator Team
-
Sunday, 18 March 2012 8:09 PM
William -
Having trouble following your advice...
I've changed the following code:
+ "/ajax/v2/widget.aspx?mode=manual&from=es&layout=ts";
to this:
+ "/ajax/v2/widget.aspx?mode=manual&from=layout=ts";
or this:
+ "/ajax/v2/widget.aspx?mode=manual&from=ts";
or this:
"/ajax/v2/widget.aspx?mode=manual&from=&layout=ts";
I now see both site languages as options to translate to, but it doesn't translate when selected?
Or it doesn't show English as a language to translate to.
What am I missing?
Marco
- Edited by Marco233 Sunday, 18 March 2012 8:59 PM
-
Sunday, 1 April 2012 10:49 PMOwner
"/ajax/v2/widget.aspx?mode=manual&layout=ts";