Date: prev next · Thread: first prev next last
2019 Archives by date, by thread · List index


Hi Richard,

On Saturday, 2019-04-06 23:50:21 +0100, Richard Wordingham wrote:

Is some additional information required in the .oxt file for the
dictionary if the script is not "Western text"?

There are some means where a dictionary can specify the internally
associated script type, however, I forgot how's that supposed to work
(i.e. how exactly the ExtraLanguage Name and ScriptType properties are
to be specified in a dictionary) and the sample mentioned in the bug
doesn't download for me.. Please see
https://bugs.documentfoundation.org/show_bug.cgi?id=103855

My guess (didn't try) would be in dictionaries.xcu

 <node oor:name="ServiceManager">
    <node oor:name="Dictionaries">
        ...
    </node>
    <node oor:name="ExtraLanguages">
        <node oor:name="ExtraLanguage" oor:op="fuse">
            <prop oor:name="Name" oor:type="xs:string">
                <value>Language UI name</value>
            </prop>
            <prop oor:name="ScriptType" oor:type="xs:int">
                <value>3</value>
            </prop>
        </node>
    </node>
 </node>

ScriptType value 3 here means CTL. The values are explained in
officecfg/registry/schema/org/openoffice/VCL.xcs under
<group oor:name="ExtraLanguage">

  Eike

-- 
GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A

Attachment: signature.asc
Description: PGP signature


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.