Re: getting a list at build time of supported languages ?

2012-06-05 Thread Caolán McNamara
On Mon, 2012-04-16 at 14:18 +0200, Eike Rathke wrote:
> If it's languages that can be used as character attribution that would
> be svtools/source/misc/langtab.src

With 2b2bdcf84fc1ea41c4d9e69d53ba9f1177da9bdd I added a little dumbo
utility to write these out the way I wanted. Not enabled for anything
except Linux at the moment.

C.


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: getting a list at build time of supported languages ?

2012-04-16 Thread Eike Rathke
Hi Caolán,

On Friday, 2012-04-13 13:07:16 +0100, Caolán McNamara wrote:

> I suppose we don't have a current mechanism to get a list a build time
> of all the languages that we support in the UI as options for setting
> the language ?

If it's languages that can be used as character attribution that would
be svtools/source/misc/langtab.src

The LangID constant there can be fed to (the very hackish)
i18npool/source/isolang/langid.pl that outputs some strategic places
where the LangID is used or locale data defined and such. One of them is
the ISO 639/3166 mapping in i18npool/source/isolang/isolang.cxx

I guess it wouldn't be too hard to generate a complete list out of that.

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD


pgp8LOWAmAC9i.pgp
Description: PGP signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: getting a list at build time of supported languages ?

2012-04-14 Thread Miklos Vajna
On Fri, Apr 13, 2012 at 01:07:16PM +0100, Caolán McNamara  
wrote:
> I suppose we don't have a current mechanism to get a list a build time
> of all the languages that we support in the UI as options for setting
> the language ?

If you mean all, that's solenv/inc/langlist.mk, I think.

For the actually enabled ones, WITH_LANG / WITH_LANG_LIST in
config_host.mk comes to my mind.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


getting a list at build time of supported languages ?

2012-04-13 Thread Caolán McNamara
I suppose we don't have a current mechanism to get a list a build time
of all the languages that we support in the UI as options for setting
the language ?

i.e. I'd like to be able to e.g. filter the libexttextcat language
fingerprints to only install the ones which are usable by us. I got a
little carried away with additional language support and ran quite a bit
ahead of the languages we support.

C.

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice