erbrowser/src/languages.c File Reference

#include <stdio.h>
#include <glib.h>
#include <locale.h>
#include <libintl.h>
#include "languages.h"
#include "browserLog.h"

Go to the source code of this file.

Functions

void languagesInit ()


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