Issue 21191 - non-unixy i18n setup ...
Summary: non-unixy i18n setup ...
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC5
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: Olaf Felka
QA Contact: issues@framework
URL: http://specs.openoffice.org/g11n/lang...
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-14 18:10 UTC by mmeeks
Modified: 2005-01-10 14:47 UTC (History)
1 user (show)

See Also:
Issue Type: FEATURE
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
changes to sal/osl (4.00 KB, patch)
2003-10-14 18:11 UTC, mmeeks
no flags Details | Diff
lots of scattered hacks. (8.39 KB, patch)
2003-10-14 18:11 UTC, mmeeks
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description mmeeks 2003-10-14 18:10:25 UTC
As we all know - in order to get i18n to work sensibly on multi-user unix
systems, you have to start fooling around with XML files in the user's config to
try and sych OO.o's idea of locale with the systems's idea.

This patch fixes this - it also expands the RTL API to allow (at least) 2 types
of system locale to be queried: Messages vs. Ctype - of course, we should
support numeric etc. as well to be good citizens - but this is a start.

Of course - due to the way the architecture for getting this sort of thing is
designed, this is a large, painful, ugly, distributed, UNX conditional patch.

Input on how to proceed very much appreciated.
Comment 1 mmeeks 2003-10-14 18:11:21 UTC
Created attachment 10315 [details]
changes to sal/osl
Comment 2 mmeeks 2003-10-14 18:11:51 UTC
Created attachment 10316 [details]
lots of scattered hacks.
Comment 3 thorsten.martens 2003-10-15 09:30:17 UTC
TM->MH: Please have a look, thanks !
Comment 4 Martin Hollmichel 2003-10-15 09:57:09 UTC
mh->hro: can you please review and repatch to appr. developers 
Comment 5 hennes.rohling 2003-10-21 16:00:20 UTC
Reassigned.
Comment 6 nospam4obr 2004-03-01 15:56:31 UTC
Accepted.
Comment 7 Martin Hollmichel 2004-05-18 15:45:41 UTC
set issue type to PATCH.
Comment 8 nospam4obr 2004-06-04 06:53:41 UTC
As agreed by nearly all (sun) developers involved in i18n on dev@framework a
couple of weeks ago, the proposed patch is not the preferred way to solve the
problem - and it is missing the Windows implementation of the SAL part.

However we are pretty close to provide platform specific values transparently
through the OOo configuration API, so I am adding this task to the planned CWS
syssettings01.
Comment 9 mmeeks 2004-06-04 18:09:38 UTC
no one should contest that the patch is ugly; cf. the first comment:

> Of course - due to the way the architecture for getting this sort of thing is
> designed, this is a large, painful, ugly, distributed, UNX conditional patch.

A more beautiful design was not forthcoming on the list when I enquired in Oct
2003 though, so what can one do.
Comment 10 nospam4obr 2004-06-07 07:24:01 UTC
Hi Michael,

I was asked via email to state in the issue why I had not applied your patch up
to now. I didn't want to disqualify the research you have done to make OOo work
as expected on Unix. I appologize if you got this impression.

I thought there was an agreement in this discussion that the functionality
should hooked into the OOo configuration transparently. We now have the
necessary infrastructure at place to do so; sample code for this (connecting to
gconf) is already available in gsl/shell. 

Maybe we should wait a little bit longer because JB is going to change the key
containing all installed languages. I'am going to ask him when this will happen.

However: it's a good thing to have your patch at hand which touches all impacted
code peaces and I would by glad if your time would allow to help out once more
to fix this issue !
Comment 11 nospam4obr 2004-08-04 13:50:18 UTC
Implemented as specified in CWS syssettings01.
Comment 12 nospam4obr 2004-08-04 13:51:00 UTC
obr @ of: please verify.
Comment 13 Olaf Felka 2004-08-12 12:40:40 UTC
of: Verified in cws syssettings01
Comment 14 Olaf Felka 2005-01-10 14:47:44 UTC
of: Looks good in src680m71