translator: added support for the Apertium translation service

Also added feedback to source & target language menus to indicate which
languages are supported by the selected translation method. For Apertium, the
source language menu shows all possible source languages, and the target menu
shows the possible target languages for the chosen source language.
This commit is contained in:
hallgren
2012-06-13 21:34:59 +00:00
parent 5fd00972fe
commit d0281ef22f
4 changed files with 155 additions and 53 deletions

View File

@@ -71,7 +71,7 @@
</div>
<hr>
<div class=modtime><small>HMTL
<!-- hhmts start --> Last modified: Tue Jun 12 16:08:01 CEST 2012 <!-- hhmts end -->
<!-- hhmts start --> Last modified: Wed Jun 13 20:21:22 CEST 2012 <!-- hhmts end -->
</small></div>
<a href="about.html">About</a>
@@ -80,6 +80,7 @@
<script type="text/javascript" src="../gfse/cloud2.js"></script>
<script type="text/javascript" src="../gfse/localstorage.js"></script>
<script type="text/javascript" src="translator.js"></script>
<script type="text/javascript" src="http://api.apertium.org/JSLibrary.js"></script>
<script type="text/javascript" >
var translator = new Translator()
</script>