Re: Tagging text as being in arbitrary complex-script languages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread 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

_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux