0b6fb1f45a
Map the file(s) into memory on demand. The executable file of an app needs to be as small as possible. Including additional data files in an app bundle is fine. Change-Id: Ife9bfe99a2cf0473d459f38f50dfa3304b39e282
19 lines
1.1 KiB
Text
19 lines
1.1 KiB
Text
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 );
|
|
}
|