Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

internationalization Class Reference

Static-only class to manage the internationalization of the application. More...

#include <internationalization.h>

List of all members.


Static Public Methods

bool  init_internationalization ()
  Initialize internationalization for the application.

bool  finish_internationalization ()
  Finishes the internationalization. Currently does nothing.

int  get_wx_locale_number_from_configuration ()
  Get the wx_locale_number from the application's configuration file.

int  get_wx_locale_number_from_choice_dialog ()
  Get the wx_locale_number from a language user entered in a choice dialog.


Detailed Description

Static-only class to manage the internationalization of the application.

Maintains what translation (using .po files) of the program to use. All translations are located in plucker-desktop/langs directory. See note in plucker-desktop/langs more information on how to translate.


Member Function Documentation

int internationalization::get_wx_locale_number_from_choice_dialog   [static]
 

Get the wx_locale_number from a language user entered in a choice dialog.

Returns :
The wx Local number (defined in wx headers)
int internationalization::get_wx_locale_number_from_configuration   [static]
 

Get the wx_locale_number from the application's configuration file.

Returns :
The wx Local number (defined in wx headers)
bool internationalization::init_internationalization   [static]
 

Initialize internationalization for the application.

Returns :
TURE if the setting of the locale was successful.