The GeoGebra Google GadGet Translation...

Luiz Aquino shared this question 9 years ago
Answered

Dear Friends,


I know that here it's not a english forum, but I need some help...


I'm working in a 'full' version of GeoGebra Google Gadget, so we can put our .ggb files in Google-Sites without writing any .xml file. Now, you can have it from:

http://www.google.com/ig/di...


I need help to translate it to another languages. All you have to do is edit the text between "<msg>" and "</msg>" in the file "ALL_ALL.xml" below, and save it as "<language>_<country>.xml", where "<language>" and "<country>" usually have two letters (see [1] and [2]). For example, your language is english and your country is UK, so we have "en_UK.xml". For portuguese and Brazil, we have "pt_BR.xml". And so on. If there isn't another country officially speaking your language, so we have "<language>_ALL.xml".


"ALL_ALL.xml" file:

<messagebundle>

<?xml version="1.0" encoding="UTF-8"?>

<msg name="module-title">GeoGebra GadGet</msg>

<msg name="module-description">Put a GeoGebra file (.ggb) in your Google-site.</msg>

<msg name="module-thumbnail">http://hosting.gmodules.com...;

<msg name="module-screenshot">http://hosting.gmodules.com...;

<msg name="title">Title</msg>

<msg name="title-bar-background-color">Title bar background color</msg>

<msg name="title-bar-text-color">Title bar text color</msg>

<msg name="codebase">Code base</msg>

<msg name="archive">GeoGebra Archive</msg>

<msg name="width">Width</msg>

<msg name="height">Height</msg>

<msg name="filename">GGB File</msg>

<msg name="image">Loading image</msg>

<msg name="enableRightClick">Enable right click features</msg>

<msg name="enableLabelDrags">Enable dragging of labels</msg>

<msg name="showResetIcon">Show icon to reset construction</msg>

<msg name="showAnimationButton">Show animation button</msg>

<msg name="framePossible">Double click opens application window</msg>

<msg name="showMenuBar">Show menubar</msg>

<msg name="showToolBar">Show toolbar</msg>

<msg name="showToolBarHelp">Show toolbar help</msg>

<msg name="showAlgebraInput">Show input bar</msg>

<msg name="errorDialogsActive">Show error dialogs</msg>

<msg name="thereisnotJava">If there isn't Java, show this message</msg>

<msg name="thereisnotJava-default-value">

Sorry, the GeoGebra Applet could not be started. Please make sure that Java 1.4.2 (or later) is installed and active in your browser (<a href='http://java.sun.com/getjava'>Click here to install Java now <\a>)

</msg>

<msg name="param_extra">Extra applet parameter</msg>

<msg name="title-bar-download-ggb-file-button">Download .ggb file</msg>

<msg name="title-bar-hide-button">Hide</msg>

<msg name="title-bar-show-button">Show</msg>

</messagebundle>


Before you edit this file, we have two simple rules:

  • The file must be saved in UTF-8 format.
  • You can't use the character: &, <, > or " in your text. If you want to use them, so use the follow escape code:

    • & : &
    • < : <
    • > : >
    • " : "

    For example, you want to put a link for Java site in the case that the applet can't be started. So do this:

    <a href='http://java.sun.com/getjava'>Click here to install Java now <\a>

    and we'll have this

    <a href='http://java.sun.com/getjava'>Click here to install Java now<\a>


When you finish the edition, send me the file. My e-mail address is aquino.luizclaudio@gmail.com.


One more thing, from "enableRightClick" to "showAlgebraInput", we can find the translation in GeoGebra menu: File > Export Dynamic Worksheet > Advanced tab.


If you want to know more about google gadget and internationalization, see this page:

http://code.google.com/apis...


Best regards,

Luiz Aquino.


[1] http://en.wikipedia.org/wik...

[2] http://en.wikipedia.org/wik...

Comments (2)

photo
1

Dear Luiz,


here you have a proposal for the translation of GeoGebra gadget into Finnish. I'll send it to you via e-mail, but put it here, too, if somebody will comment my translation.


With best regards,

Hannu Korhonen


<messagebundle>

<?xml version="1.0" encoding="UTF-8"?>

<msg name="module-title">Geogebran Google-pienoisohjelma (gadget)</msg>

<msg name="module-description">Vie Geogebra-tiedosto (.ggb) Google-sivustollesi.</msg>

<msg name="module-thumbnail">http://hosting.gmodules.com...;

<msg name="module-screenshot">http://hosting.gmodules.com...;

<msg name="title">Otsikko</msg>

<msg name="title-bar-background-color">Otsikkopalkin taustan väri</msg>

<msg name="title-bar-text-color">Otsikkopalkin tekstin väri</msg>

<msg name="codebase">Lähdekoodi (code base)</msg>

<msg name="archive">GeoGebra-arkisto</msg>

<msg name="width">Leveys</msg>

<msg name="height">Korkeus</msg>

<msg name="filename">GGB-tiedosto</msg>

<msg name="image">Kuvaa ladataan</msg>

<msg name="enableRightClick">Ota käyttöön oikean näppäimen toiminnot</msg>

<msg name="enableLabelDrags">Ota käyttöön nimien raahaus</msg>

<msg name="showResetIcon">Näytä piirroksen nollauskuvake</msg>

<msg name="showAnimationButton">Näytä animaatiopainike</msg>

<msg name="framePossible">Kaksoisnäpäys avaa sovellusikkunan</msg>

<msg name="showMenuBar">Näytä valikkopalkki</msg>

<msg name="showToolBar">Näytä työvalinepalkki</msg>

<msg name="showToolBarHelp">Näytä työvälinepalkin opastus</msg>

<msg name="showAlgebraInput">Näytä syöttöpalkki</msg>

<msg name="errorDialogsActive">Näytä virheilmoitukset</msg>

<msg name="thereisnotJava">Jos Javaa ei ole, niin näytä tämä viesti</msg>

<msg name="thereisnotJava-default-value">

Geogebra-applettia ei voitu käynnistää. Varmistu, että Java 1.4.2 (tai uudempi) on asennettu ja aktiivinen selaimessasi (<a href='http://java.sun.com/getjava'>Click here to install Java now <\a>)

</msg>

<msg name="param_extra">Appletin lisäparametri</msg>

<msg name="title-bar-download-ggb-file-button">Lataa ggb-tiedosto</msg>

<msg name="title-bar-hide-button">Piilota</msg>

<msg name="title-bar-show-button">Näytä</msg>

</messagebundle>

photo
1

Dear Hannu Korhonen,


Thank you for your translation! I'll upload it.


Best regards.

© 2019 International GeoGebra Institute