OmniLang

 Ønline Translation

Linking to OmniLang via a Customized URL or a Customized Form

Creating a URL:

A standard HTML link to OmniLang looks like this:
<A HREF="http://omnilang.com/scripts/translateurl.pl?defaultfrom=de&defaultto=en&defaulturl=http://www.example.com/&defaultstart=yes">
 
Here's an explanation of the parameters in the URL. All of the parameters are optional, which means that the value after the "=" sign may be removed, or the parameter may be omitted altogether.

defaultfrom=deThe original language of the page to be translated. Normally this should be specified if possible. See below for a list of valid language codes.
defaultto=enThe language the page should be translated into. If not specified, OmniLang will use the user's default language if it can be determined and is a valid option.
defaulturl=http://www.example.com/     The URL of the page to be translated. Normally this should be specified.
Note that there may be problems if the URL contains a single-quote (') or a double-quote ("). This is unusual but such URLs exist.
defaultstart=yesWhether OmniLang should automatically begin the translation in a new window. Valid values are "yes" and "no". The default is currently "yes", but note that Omnilang is a brand new service and the default behaviour may change.



Creating a Form:

The process of creating an interactive HTML form is too complex to go into here, but here is the basic code that can be customized to suit any purpose. See previous table for an explanation of each field.




Available Languages:

          
LanguageCode
Englishen
Bulgarianbg
Chinese (Hanyu)zh
Croatian (Hrvatski)hr
Czech (Ceská)cs
Danish (Dansk)da
Dutch (Nederlands)nl
Finnish (Suomi)fi
French (Français)fr
German (Deutsch)de
Greekel
Hungarian (Magyar)hu
Icelandic (Isländska)is
Italianit
Japanese (Nihongo)ja
Koreanko
Latinla
Norwegian (Norsk)no
Polish (Polski)pl
Portuguese (Português)pt
Romanian (Romana)ro
Russian (Russkij)ru
Serbian (Sprski)sr
Slovenian (Slovensko)ls
Spanish (Español)es
Swedish (Svenska)se
Turkish (Türkçe)tr