Reputation: 6166
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
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
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