[Libreoffice-bugs] [Bug 103855] Add a language code via an extension

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 9 11:48:02 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=103855

--- Comment #7 from Eike Rathke <erack at redhat.com> ---
Presumably this is how it's supposed to work:

In dictionaries.xcu have

 <node oor:name="ServiceManager">
   <node oor:name="Dictionaries">
     ...
     <prop oor:name="Locales" oor:type="oor:string-list">
       <value>nod-TH</value>
     </prop>
   </node>
   <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>
 </node>

Where "nod-TH" is a BCP 47 language tag for the dictionary's
language/locale to be added to the Language list in dialogs, represented
in the UI by the "Name" defined.

ScriptType value 3 here means CTL. The values are explained in
officecfg/registry/schema/org/openoffice/VCL.xcs under
<group oor:name="ExtraLanguage">
See
https://opengrok.libreoffice.org/xref/core/officecfg/registry/schema/org/openoffice/VCL.xcs?r=33e80611#79

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190409/49791122/attachment-0001.html>


More information about the Libreoffice-bugs mailing list