Tagging text as being in arbitrary complex-script languages

Eike Rathke erack at redhat.com
Mon Apr 8 14:17:38 UTC 2019


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20190408/e2ac8949/attachment.sig>


More information about the LibreOffice mailing list