boom
boom

Reputation: 6166

Localisation of application in Linux

I have an application where UI language is in English,

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

Upvotes: 1

Views: 409

Answers (2)

PiedPiper
PiedPiper

Reputation: 5785

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"

Upvotes: 1

Douglas Leeder
Douglas Leeder

Reputation: 53310

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.

Upvotes: 1

Related Questions