Automated I18N Settings

applies to StarOffice 6.1
status: Final, last modified: 24. Apr. 2003

Version History

Mon, Mar 3, 03	FT	Falko Tesch	Final
04/24/03	FT	Falko Tesch	Added language setting automatism

Abstract

Since StarOffice/StarSuite's greps its locale setting from either the systems locale or its own setting (“Tools - Options - Language - Language settings”, “Locale Setting”) the default direction of standard documents can be affected.

Example: If the system's locale is Arabic all documents, spreadsheets and presentations will open with RTL orientation as default.

This already works but in case for non-enabled CTL support the user will be presented a RTL layout document w/o having the tools enabled to work on it.

It is more sensible to detect the locale and to automatically enable the necessary tools for it by default.

Contents

1 New Automatism for I18N Settings	2

1.1 Scenario 1	2

1.2 Scenario 2	2

1.3 Disabling I18N Support	3

2 Matrix	4

New Automatism for I18N Settings

Once a non-Western locale is set and/or detected by StarOffice/StarSuite the necessary additional support for CTL or CJK will be automatically enabled.

Furthermore the default language settings for CJK or CTL will be set accordingly.

But: This automatism must not apply if a language is already selected (or in other words: if the slection is not [none])

(see matrix, Table2)

Example:

The user's system has Korean as the default locale. Thus CJK support will be enabled automatically. Until now the default language for CLK languages (“Tools – Options – Language settings – Languages – Default Languages for documents – Asian”) will be [none] (unless Korean localized version of StarSuite is in use.).

From now on this will automatically change from [none] to Korean.

Note: If CTL language support is enabled its default language will not be affected.

Scenario 1

StarOffice/StarSuite installs on a system with a CJK or CTL locale enabled:

StarOffice/StarSuite will detect the set locale and will automatically enable support for this locale.

Scenario 2

The user changes the locale of the OS or the locale within StarOffice/StarSuite while having StarOffice/StarSuite already installed.

In this case the support fort the appropriate locale will be enabled...

when StarOffice/StarSuite reads in the OS system's locale and will silently enable the locale support

when the user sets under “Tools - Options - Language - Language settings”, “Locale Setting” the office's locale to a non-Western one.

Important :

The above automatism will only affect enabling CTL/CJK support but never disabling them! Thus it is possible to enable CTL and CJK by changing the locales twice (first to a CJK, second to a CTL locale, or vice versa).

Disabling I18N Support

As long as a CJK or CTL locale is chosen, whether through the OS or the office itself the support for this locale must be enabled and must not be de-selectable.

Once the locale changes to a different I18N mode (example from CJK to Western) the support for the former locale setting (in the case of the example CJK) will not be disabled but will become de-selectable again.

This behaviour ensures that the user and StarOffice/StarSuite will not run into a kind of enabling-disabling fight for CJK/CTL support.

Because if the user can actually disable for example CJK support even if it has previously be turned on automatically StarOffice/StarSuite will turn it on the next time it starts up (since it detects a CJK locale being active).

Matrix

Locale	I18N Support	Default Language for document (from [none])
Operating System	SO/SS	CJK	CTL	CJK (aka Asian)	CTL
Korean	Default	ON [not de-selectable]	OFF [but free to select]	Korean	n/a
Chinese (all flavours)	Default	ON [not de-selectable]	OFF [but free to select]	Chinese (same as locale)	n/a
Japanese	Default	ON [not de-selectable]	OFF [but free to select]	Japanese	n/a
Arabic (all flavours)	Default	OFF [but free to select]	ON [not de-selectable]	n/a	Arabic (same as locale)
Gujarati	Default	OFF [but free to select]	ON [not de-selectable]	n/a	Gujarati
Hebrew	Default	OFF [but free to select]	ON [not de-selectable]	n/a	Hebrew
Hindi	Default	OFF [but free to select]	ON [not de-selectable]	n/a	Hindi
Kannade	Default	OFF [but free to select]	ON [not de-selectable]	n/a	Kannade
Marathi	Default	OFF [but free to select]	ON [not de-selectable]	n/a	Marathi
Punjabi	Default	OFF [but free to select]	ON [not de-selectable]	n/a	Punjabi
Tamil	Default	OFF [but free to select]	ON [not de-selectable]	n/a	Tamil
Telugu	Default	OFF [but free to select]	ON [not de-selectable]	n/a	Telugu
Thai	Default	OFF [but free to select]	ON [not de-selectable]	n/a	Thai
[various]	Korean	ON [not de-selectable]	OFF [but free to select]	Korean	n/a
[various]	Chinese (all flavours)	ON [not de-selectable]	OFF [but free to select]	Chinese (same as locale)	n/a
[various]	Japanese	ON [not de-selectable]	OFF [but free to select]	Japanese	n/a
[various]	Arabic (all flavours)	OFF [but free to select]	ON [not de-selectable]	n/a	Arabic (same as locale)
[various]	Gujarati	OFF [but free to select]	ON [not de-selectable]	n/a	Gujarati
[various]	Hebrew	OFF [but free to select]	ON [not de-selectable]	n/a	Hebrew
[various]	Hindi	OFF [but free to select]	ON [not de-selectable]	n/a	Hindi
[various]	Kannade	OFF [but free to select]	ON [not de-selectable]	n/a	Kannade
[various]	Marathi	OFF [but free to select]	ON [not de-selectable]	n/a	Marathi
[various]	Punjabi	OFF [but free to select]	ON [not de-selectable]	n/a	Punjabi
[various]	Tamil	OFF [but free to select]	ON [not de-selectable]	n/a	Tamil
[various]	Telugu	OFF [but free to select]	ON [not de-selectable]	n/a	Telugu
[various]	Thai	OFF [but free to select]	ON [not de-selectable]	n/a	Thai

Automated I18N Settings	2

2	Automated I18N Settings

Sun Proprietary/Confidential: Internal Use Only

Automated I18N Settings

Falko Tesch

2003-03-03T09:38:17