Code for sample 3
(See how it looks like)
Place the following code into a frame (feel free to change layout and style).
Click here to see how to display results inside a frame of your web site.
<!-- ******* Foreignword translation form ********* --> <form method="get" action="http://www.foreignword.com/Tools/dictsrch_aff.asp" target="_blank">
<!-- remove the following field and the Foreignword menu is not displayed --> <input type="hidden" name="menu" value="Y">
<table border="3" cellPadding="1" cellSpacing="1" align="center" bgColor="khaki"> <tr><td align="right"> <table background bgColor="khaki" border="0" cellPadding="3" cellSpacing="0" width="300"> <tr><td><strong><font color="darkblue" size="2">Search law terms</font></strong></td><td> </td></tr><tr><td>
<!-- text input field --> <input name="query" size="25"> </td><td align="middle">
<!-- translate button --> <input name="search" type="submit" value="Go"> </td></tr><tr><td>
<!-- some dictionaries English-Monolingual --> <select name="site"> <option selected value="25f">Law.com <option value="27f">Oran's Law <option value="27g">Lawyers.com <option value="21d">Encyclopaedia Britannica <option value="09c">Encyclopedia.com <option value="21b">British National Corpus <option value="32a">Columbia Encyclopaedia</option> </select> </td><td> <p align="center"><font size="1">Powered by <a href="http://www.foreignword.com" target="_top">Foreignword.com</a></font></p></td></tr></table>
<!-- the source language (English) as a hidden field --> <input name="src" type="hidden" value="BP">
<!-- the target language: use code AA for monolingual dictionaries --> <input name="trg" type="hidden" value="AA"> </td></tr></table> </form> <!-- *************************** -->
|
Instructions
By analysing this code you will remark that source and target languages are attributed a 2-letter code. If you want to support a different source/target combination, then you need to know these 2-letter codes. Click
here for the list of languages.
All dictionaries you include must support your language combination. To find out available dictionaries proceed as follows:
-
Goto the
DictSearch page, select your languages and note down the names of those dictionaries that you would like to include
-
Look-up the corresponding dictionary identifiers (a number plus a letter) from
this page.
-
Look-up your source and target language codes at
this page.