Files
loongoffice/i18npool
Tor Lillqvist 0c0fbc3f8b Add a new configure switch --with-locales for restricting the included locales
For now only effective in the DISABLE_DYNLOADING case, where it limits
the locales compiled in to the i18npool library. Maybe should use this
same option to also limit what collation tables etc are compiled in?

Not expected to be used for desktop OSes, but can be useful for mobile
platforms where every megabyte counts.

Change-Id: If672b4cd19f44f8c7e119378faf40930a51969b7
2014-04-22 19:38:25 +03:00
..
2014-04-14 20:09:58 +03:00

Internationalisation (i18npool) framework ensures that the suite is adaptable to the requirements of different
native languages, their local settings and customs, etc without source code modification. (Wow, that is such marketing-speak...)

Specifically for locale data documentation please see i18npool/source/localedata/data/locale.dtd

See also [http://wiki.documentfoundation.org/Category:I18n]

On iOS we put the largest data generated here, the dict_ja and dict_zh
stuff, into separate files and not into code to keep the size of an
app binary down. Temporary test code:

    static bool beenhere = false;
    if (!beenhere) {
        beenhere = true;
        uno::Reference< uno::XComponentContext > xComponentContext(::cppu::defaultBootstrap_InitialComponentContext());
        uno::Reference< lang::XMultiComponentFactory > xMultiComponentFactoryClient( xComponentContext->getServiceManager() );
        uno::Reference< uno::XInterface > xInterface =
            xMultiComponentFactoryClient->createInstanceWithContext( "com.sun.star.i18n.BreakIterator_ja", xComponentContext );
    }