Re: Installing an extension dictionary from the command line.

View: New views
3 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: Installing an extension dictionary from the command line.

by Thomas Lange - Sun Germany - ham02 - Hamburg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Simon,

Simon Brouwer wrote:

> Hi Per, all,
>
> Would it be possible that selected dictionaries are integrated per
> localization language?
>
> For example, it makes sense to me that a standard installation of Dutch
> OOo would include Dutch, and also English (USA), English (UK), French
> (France) and German (Germany) spell checking.
>
> It would seem very odd that, after installing OOo, you would have to go
> online and/or perform additional actions to enable basic functionality
> such as spell checking in your own language and (in your language area)
> commonly used foreign languages.

It is possible.
For example my m26 SO installation comes with 3 English, 3 German, a
French and a Spanish dictionary extension pre-installed.

I just asked a colleague and grabbed this from the file
setup_native\source\packinfo\spellchecker_selection.txt

# This file defines the languages of the spellchecker, that are
# included into the language specific installation sets.
# First column: Language in the installation set.
# Second column: Assigned spellchecker languages. Comma separated list.

af = "af,en-US"
cs = "cs,en-US"
da = "da,de,en-US"
de = "de,en-US,fr,it"
en-US = "en-US,es,fr"
es = "en-US,es,fr,pt"
et = "en-US,et"
fr = "en-US,es,fr"
hu = "de,en-US,hu"
it = "de,en-US,fr,it"
ja = "en-US"
ko = "en-US"
lt = "en-US,lt"
ne = "en-US,ne"
nl = "en-US,fr,de,nl"
pl = "de,en-US,pl,ru"
pt-BR = "en-US,es,pt"
ru = "de,en-US,ru"
sk = "en-US,sk"
sl = "en-US,sl"
sv = "de,en-US,sv"
sw = "en-US,sw"
th = "en-US,th"
zh-TW = "en-US"
zh-CN = "en-US"
zu = "en-US,zu"

AFAIK the locales listed on the right are probably just the names of the
packages and NOT the actual content though. Right now I do not know
where those are matched against the actual dictionary extensions.

The dictionary extensions itself should be the ones found in the
dictionary project. E.g. currently in dictionaries\wntmsci12.pro\bin.


Regards,
Thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Installing an extension dictionary from the command line.

by sophie-21 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Thomas, Simon,
Thomas Lange - Sun Germany - ham02 - Hamburg wrote:

> Hi Simon,
>
> Simon Brouwer wrote:
>
>> Hi Per, all,
>>
>> Would it be possible that selected dictionaries are integrated per
>> localization language?
>>
>> For example, it makes sense to me that a standard installation of Dutch
>> OOo would include Dutch, and also English (USA), English (UK), French
>> (France) and German (Germany) spell checking.
>>
>> It would seem very odd that, after installing OOo, you would have to go
>> online and/or perform additional actions to enable basic functionality
>> such as spell checking in your own language and (in your language area)
>> commonly used foreign languages.
>
> It is possible.
> For example my m26 SO installation comes with 3 English, 3 German, a
> French and a Spanish dictionary extension pre-installed.
>
> I just asked a colleague and grabbed this from the file
> setup_native\source\packinfo\spellchecker_selection.txt
>
> # This file defines the languages of the spellchecker, that are
> # included into the language specific installation sets.
> # First column: Language in the installation set.
> # Second column: Assigned spellchecker languages. Comma separated list.

This has been tracked on this issue
http://www.openoffice.org/issues/show_bug.cgi?id=89121

In order for the spell checkers to be packaged with the version, you
have to provide the source of the extension, see the discussion we had
on this issue :
http://www.openoffice.org/issues/show_bug.cgi?id=91426

Hope this help :)
Kind regards
Sophie

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Installing an extension dictionary from the command line.

by Mathias Bauer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thomas Lange - Sun Germany - ham02 - Hamburg wrote:

> nl = "en-US,fr,de,nl"

Some short remarks:

"de" and "us" are multi-locale extensions, they contain writing aids for
three locales: de-DE, de-AT, de-CH and en-US, en-GB, en-ZA. The reason
is that parts can be shared for all included locales (e.g. the
hyphenation dictionaries).

All other extensions are single-locale. In most cases the used locale is
obvious, "zu" is zu-ZA, "pt" is pt-BR, "sw" is sw-TZ.

We are currently preparing the "vi" extension, so vietnamese builds in
future will contain en,vi,fr dictionary extensions by default.

All other localized builds or language packs would get only the english
package.

Everything can be discussed and changed: we can change the list, we can
add more locales and of course we would welcome to get more dictionaries
and thesauri. :-)

Ciao,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "nospamformba@...".
I use it for the OOo lists and only rarely read other mails sent to it.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...