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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/04/2019 16:17, Eike Rathke wrote:
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>

ExtraLanguages is a set whose elements presumably must be named with the BCP47 tags (and the "Name" prop is localizable even), so something like

[...]
     <node oor:name="ExtraLanguages">
       <node oor:name="nod-TH" oor:op="replace">
         <prop oor:name="Name">
           <value xml:lang="en-US">Default US English UI name</value>
           <value xml:lang="...">Your favorite translation here...</value>
         </prop>
         <prop oor:name="ScriptType">
           <value>3</value>
         </prop>
       </node>
     </node>
[...]

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




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

  Powered by Linux