Web page Translation Services |
Translation Services
Applied Language Web page Translation
|
Sample Applied Language Custom Footer Module |
1. Get the code at http://www.appliedlanguage.com/trans/free_quick.aspx.
2. Once you have signed up the code will be email to you and you can use the following base code, paste the code between <![CDATA[ and ]]> tags.
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text" omit-xml-declaration="yes"/>
<xsl:template match="/">
<![CDATA[
]]>
</xsl:template>
</xsl:stylesheet>
3. Paste the finish code in the Custom Footer or Header module.
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text" omit-xml-declaration="yes"/>
<xsl:template match="/">
<![CDATA[
<a href="http://www.appliedlanguage.com/" target="_blank">Translation</a> for 140 languages by ALS<br /> <iframe title="Online Translation Powered by Applied Language Solution" src="http://www.appliedlanguage.com/translate.aspx?sourcel=en&iindex=1&col=&id=
aHR0cDovL3NvbHV0aW9uc2Zvcm9mZmljZWxpdmUuY29t" scrolling="no" frameborder="0" marginheight="0" marginwidth="0" style="width:220px;height:70px;"></iframe>
]]>
</xsl:template>
</xsl:stylesheet>
Babel Fish
|
Sample Babel Fish Custom Footer Module |
Paste the following code into the Custom Footer or Header module. No modifications are needed.
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text" omit-xml-declaration="yes"/>
<xsl:template match="/">
<![CDATA[
<script type="text/javascript">
var URL = parent.location.href;
if (location.href.indexOf ("babelfish.altavista.com")==-1){
document.write("<Map name=translate_eng >");
document.write("<AREA COORDS=100,130,125,146 SHAPE=rect href='http://babelfish.altavista.com/babelfish/tr?doit=done&url="+URL+"&lp=en_es' target=translate>");
document.write("<AREA COORDS=70,130,93,146 SHAPE=rect href='http://babelfish.altavista.com/babelfish/tr?doit=done&url="+URL+"&lp=en_pt' target=translate>");
document.write("<AREA COORDS=39,130,65,146 SHAPE=rect href='http://babelfish.altavista.com/babelfish/tr?doit=done&url="+URL+"&lp=en_it' target=translate>");
document.write("<AREA COORDS=8,130,31,146 SHAPE=rect href='http://babelfish.altavista.com/babelfish/tr?doit=done&url="+URL+"&lp=en_fr' target=translate>");
document.write("<AREA COORDS=99,110,123,126 SHAPE=rect href='http://babelfish.altavista.com/babelfish/tr?doit=done&url="+URL+"&lp=en_ko' target=translate>");
document.write("<AREA COORDS=70,110,95,126 SHAPE=rect href='http://babelfish.altavista.com/babelfish/tr?doit=done&url="+URL+"&lp=en_ja' target=translate>");
document.write("<AREA COORDS=38,110,65,126 SHAPE=rect href='http://babelfish.altavista.com/babelfish/tr?doit=done&url="+URL+"&lp=en_de' target=translate>");
document.write("<AREA COORDS=5,110,32,126 SHAPE=rect href='http://babelfish.altavista.com/babelfish/tr?doit=done&url="+URL+"&lp=en_zh' target=translate>");
document.write("<AREA COORDS=0,1,129,38 SHAPE=rect href='http://babelfish.altavista.com' target=translate>");
document.write("</Map>");
document.write("<img src=http://babelfish.altavista.com/static/i/af/trans_en.gif width=131 height=156 usemap=#translate_eng border=0 alt='Babel Fish Translation'>")
} else {
document.write( "<img src=http://babelfish.altavista/static/i/af/trans_en_off.gif width=131 height=156 border=0>")
}
</script>
]]>
</xsl:template>
</xsl:stylesheet>
Microsoft Translation Widget
|
| Sample Microsoft Translation Widget |
1. Setup your widget at http://www.microsofttranslator.com/widget/
2. Use the following base code and paste the code between the <![CDATA[ and ]]> tags.
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text" omit-xml-declaration="yes"/>
<xsl:template match="/">
<![CDATA[
]]>
</xsl:template>
</xsl:stylesheet>
3. Paste the finished code in either the Custom Footer or Header module.
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text" omit-xml-declaration="yes"/>
<xsl:template match="/">
<![CDATA[
<div id="MicrosoftTranslatorWidget" style="width: 200px; min-height: 83px; border-color: #404040; background-color: #A0A0A0;"><noscript><a href="http://www.microsofttranslator.com/BV.aspx?a=http%3a%2f%2fsolutionsforofficelive.com%2f">Translate this page</a><br />Powered by <a href="http://www.microsofttranslator.com">Microsoft® Translator</a></noscript></div> <script type="text/javascript"> setTimeout(function() { var s = document.createElement("script"); s.type = "text/javascript"; s.charset = "UTF-8"; s.src = "http://api.microsofttranslator.com/v1/widget.svc/Embed?appId=GkpAX2ka5Yv9v8sms4cTpth03oVGq7U5&from=en&layout=ts"; var p = document.getElementsByTagName('head')[0] || document.documentElement; p.insertBefore(s, p.firstChild); }, 0); </script>
]]>
</xsl:template>
</xsl:stylesheet>