Occitan's automatic translator
Occitan's automatic translator

Translate your web page

From here you can download the code for a button that will allow you to link directly the translator from the pages of your web. It is intended for plain HTML pages. For other types of pages it may not work correctly.

Instructions to download the button
  1. Copy the following code and paste it in the HTML code of your web page inside the block defined by the tags <head> and </head>.
  2. <script type="text/javascript" src="http://traductor.gencat.cat/jsp/boto.jsp"></script>
  3. Copy the code from the text box corresponding to the language pair you want to translate with the button.

    • Catalan-Occitan

      <script type="text/javascript">botoTraductorGencat("ca-oc", false);</script>
    • Catalan-Aranese Occitan

      <script type="text/javascript">botoTraductorGencat("ca-oc@aran", false);</script>
    • Spanish-Occitan

      <script type="text/javascript">botoTraductorGencat("es-oc", false);</script>
    • Spanish-Aranese Occitan

      <script type="text/javascript">botoTraductorGencat("es-oc@aran", false);</script>
    • Occitan-Catalan

      <script type="text/javascript">botoTraductorGencat("oc-ca", false);</script>
    • Aranese Occitan-Catalan

      <script type="text/javascript">botoTraductorGencat("oc@aran-ca", false);</script>
    • Occitan-Spanish

      <script type="text/javascript">botoTraductorGencat("oc-es", false);</script>
    • Aranese Occitan-Spanish

      <script type="text/javascript">botoTraductorGencat("oc@aran-es", false);</script>
  4. Paste the code you have copied inside the block defined by the tags <body> and </body> of your web page. If your page uses frames, make sure that you insert the button code in the web page corresponding to the main frame.