office-gobmx/i18npool
Jan-Marek Glogowski 4686b3f623 localedata: keep the intermediate %_new.cxx file
Mike tested it, and I tested it on Windows too. But at least for
my Linux static build, these files are auto-removed. So tell GNU
make we really want to keep them.

Change-Id: I00eb191c4d0086de87f895a6e6fe26d1e405cab9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127895
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2022-01-03 17:37:30 +01:00
..
inc flatten LocaleDataImpl a little 2021-12-20 14:58:10 +01:00
qa/cppunit
source Avoid OUStringBuffer::toString where possible 2021-12-26 20:36:26 +01:00
util
CppunitTest_i18npool_defaultnumberingprovider.mk
CppunitTest_i18npool_test_breakiterator.mk
CppunitTest_i18npool_test_characterclassification.mk
CppunitTest_i18npool_test_ordinalsuffix.mk
CppunitTest_i18npool_test_textsearch.mk
CustomTarget_breakiterator.mk
CustomTarget_collator.mk
CustomTarget_indexentry.mk
CustomTarget_localedata.mk localedata: keep the intermediate %_new.cxx file 2022-01-03 17:37:30 +01:00
CustomTarget_textconversion.mk
Executable_gencoll_rule.mk
Executable_genconv_dict.mk
Executable_gendict.mk
Executable_genindex_data.mk
Executable_saxparser.mk
IwyuFilter_i18npool.yaml
Library_collator_data.mk
Library_dict_ja.mk
Library_dict_zh.mk
Library_i18npool.mk
Library_i18nsearch.mk
Library_index_data.mk
Library_localedata_en.mk
Library_localedata_es.mk
Library_localedata_euro.mk
Library_localedata_others.mk
Library_textconv_dict.mk
Makefile
Module_i18npool.mk
Rdb_saxparser.mk
README.md

Internationalisation Pool (i18npool) Framework

Internationalisation pool (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

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 );
}

See Also

http://wiki.documentfoundation.org/Category:I18n