office-gobmx/i18npool
Jonathan Clark fb94cc0d13 tdf#49885 Reviewed BreakIterator customizations
This change completes the review of BreakIterator rule customizations,
and adds unit tests for relevant customizations.

Change-Id: I06678fcccfc48d020aac64dd9f58ff36a763af30
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166017
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
2024-04-17 13:27:57 +02:00
..
inc i18npool : use OUString literal 2024-04-08 23:18:31 +02:00
qa/cppunit tdf#49885 Reviewed BreakIterator customizations 2024-04-17 13:27:57 +02:00
source tdf#49885 Reviewed BreakIterator customizations 2024-04-17 13:27:57 +02:00
util
CppunitTest_i18npool_breakiterator.mk
CppunitTest_i18npool_calendar.mk
CppunitTest_i18npool_characterclassification.mk
CppunitTest_i18npool_defaultnumberingprovider.mk
CppunitTest_i18npool_indexentry.mk
CppunitTest_i18npool_ordinalsuffix.mk
CppunitTest_i18npool_textsearch.mk
CppunitTest_i18npool_transliteration.mk
CustomTarget_breakiterator.mk
CustomTarget_collator.mk
CustomTarget_indexentry.mk
CustomTarget_localedata.mk
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_dict_ja.mk
Library_dict_zh.mk
Library_i18npool.mk
Library_i18nsearch.mk
Library_localedata_en.mk
Library_localedata_es.mk
Library_localedata_euro.mk
Library_localedata_others.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