Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Getting SysTran translation software to work with MCMS forms

0 views
Skip to first unread message

jgrimmer

unread,
Apr 30, 2009, 4:35:27 PM4/30/09
to
We are trying out a trial of SysTran's online translation software for our
site. Our site is running MCMS 2002 SP2. The results of various searches of
databases are returned in English, which is why we need the translation done,
for our Spanish users. Upon filling out a form and clicking the submit
button, the software goes back to our site rather than through the translator
software's site. Our vendor, SysTran, says it is because the search is being
opened by javascript. "SYSTRANLinks is unable to interpret javascript so we
provide a simple workaround to make it work." Basically they want the
following to be added to the HMTL source file (not in a .js file):
<script type="text/javascript">
function systranURL(url) {
return url;
}

Then in the javascript that is activated when the search button is clicked,
they want systranURL("url to open") and they can then identify the URL to go
to for the translation. Here's the rub: Our button, which in Visual Studio
looks like: <asp:Button ID="btnSubmit" OnClick="btnSubmit_Click" /> gets
translated to
<input value="Find" name="ctl00$MainContent$ctl00$btnSubmit"
class="defaultButton" id="ctl00_MainContent_ctl00_btnSubmit"
onclick="javascript:WebForm_DoPostBackWithOptions(new
WebForm_PostBackOptions("ctl00$MainContent$ctl00$btnSubmit", "", true, "",
"", false, false))" type="submit" /> with the
WebForm_DoPostBackWithOptions(...) stuff automatically generated by MCMS. So
the question becomes, how do I apply SYSTRAN's workaround to our page?

Thanks,
Jerome Grimmer

0 new messages