Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


2011/6/21 Caolán McNamara <caolanm@redhat.com>:
On Tue, 2011-06-21 at 11:43 +0200, Andras Timar wrote:
+    setlocale(LC_ALL, "");

Is there a way to tell gettext what language you want, without tweaking
setlocale ?

AFAIK LANGUAGE environment variable can be used, and can be selected
according to the language selected by the user in Tools - Options -
Language Settings - Languages - Language of User interface. I tested
it that way:
$ export LANGUAGE=hu ./soffice.bin
and locale settings (LANG was set to en_US.utf8) remained unchanged at
Tools - Options - Language Settings - Languages - Language of Locale
settings.

Andras

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.