erbrowser/src/languages.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define _(String)   (String)
#define N_(String)   String
#define textdomain(Domain)
#define bindtextdomain(Package, Directory)

Functions

void languagesInit ()


Define Documentation

#define _ ( String   )     (String)

Definition at line 41 of file languages.h.

#define bindtextdomain ( Package,
Directory   ) 

Definition at line 44 of file languages.h.

#define N_ ( String   )     String

Definition at line 42 of file languages.h.

#define textdomain ( Domain   ) 

Definition at line 43 of file languages.h.


Function Documentation

void languagesInit (  ) 

init the language/localisation settings

Parameters:
none 
Returns:
void

Definition at line 33 of file languages.c.

00034 {
00035     // look at setup application for howto integrate the 
00036     // language support with automake
00037 /*      
00038         char* result;
00039         
00040         // " " => the local names will be set from the values of the environment variables with 
00041         // the same name as the categories or from "LANG"
00042         //setlocale(LC_ALL,"");
00043         
00044         // tryout
00045         setlocale(LC_ALL,"nl_NL");
00046         
00047         BR_LOGPRINTF("LCALL: %s",setlocale(LC_ALL,NULL));
00048 
00049         result = bindtextdomain("browser","../data/");
00050         
00051         BR_LOGPRINTF("bindtextdomain: %s",result);
00052         
00053         //bind_textdomain_codeset ("messages", "UTF-8");
00054         textdomain("browser");
00055 */
00056 }


Generated on Sun Dec 14 17:14:51 2008 by  doxygen 1.5.6