TerraLib and TerraView Wiki Page

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
wiki:documentation:devguide:core:translator [2016/10/04 09:08]
carolina.santos [Examples]
wiki:documentation:devguide:core:translator [2016/10/04 13:58]
carolina.santos [References]
Line 7: Line 7:
 Translation dictionaries are sets of textual and binary files that are created through the [[https://​www.gnu.org/​software/​gettext/​ | GNU Gettext]] tools. Translation dictionaries are sets of textual and binary files that are created through the [[https://​www.gnu.org/​software/​gettext/​ | GNU Gettext]] tools.
  
-The translation is not automatic, it is necessary to perform this process manually in the files "​po"​.+The translation is not automatic, it is necessary to perform this process manually in the "​po" ​files.
 ===== API ===== ===== API =====
  
Line 24: Line 24:
       \brief This singleton is designed to deal with multi-language text translation in TerraLib.       \brief This singleton is designed to deal with multi-language text translation in TerraLib.
      */      */
-    class TECOREEXPORT ​Translator+    class Translator
     {     {
  
Line 222: Line 222:
 **Note:** use the same name as the library or executable in the record of your translation. **Note:** use the same name as the library or executable in the record of your translation.
  
-In your source code includes ​a call to the macro **TE_ADD_TEXT_DOMAIN** to add at runtime your translation file. See the example below:+In your source code include ​a call to the macro **TE_ADD_TEXT_DOMAIN** to add at runtime your translation file. See the example below:
  
 <code cpp> <code cpp>
Line 275: Line 275:
  
  
-===== References =====+===== Additional ​References =====
  
   * [[http://​www.boost.org/​doc/​libs/​1_56_0/​libs/​locale/​doc/​html/​messages_formatting.html | Boost.Locale - Messages Formatting (Translation)]]   * [[http://​www.boost.org/​doc/​libs/​1_56_0/​libs/​locale/​doc/​html/​messages_formatting.html | Boost.Locale - Messages Formatting (Translation)]]