How To Build Your Own Plug-in to Switch Languages "On the Fly!"

With 20/20 DataShed, the webmaster or administrator can define a "default" language (the thisAppDefaultLanguage option) but the web site can also be displayed in multiple-languages simultaneously if the languages.xml file contains multiple languages nodes.

This article demonstrates how to build a plug-in that you can incorporate into your own web site to provide your visitors the ability to view your web site in any language of their choice.

In this tutorial, we will perform the following actions:

  1. Create a new .asp page that 20/20 DataShed (or any other ASP page/product) can execute. The new script will produce hyperlinks that your visitors can use to view your web site in any language of their choice.
  2. Explanation of the code.
  3. Edit the template.html to instruct 20/20 DataShed when/where to execute the new ASP script.

Related topics


© 2005 - 2007 20/20 Applications. All rights reserved.