tags:

views:

33

answers:

2

Hi All,

I have an application where UI language is in English,

how can i make its UI set to other languages such as Italy.

+1  A: 

The standard way is to use gettext. Alter the code to use _ or gettext() for the UI strings, then extract them and translate the .po files into the different languages.

Douglas Leeder
+1  A: 

Assuming the application has already been translated and you have the translation installed:

LANG=locale application

You can see which locales are defined on your system with:

localedef --list-archive

In your case the locale would probably be "it_IT"

PiedPiper
@PiedPiper thanks for this information...
iSight
You might want to set the locale in /etc/profile or ~/.profile
PiedPiper