<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Add a language code via an extension"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=103855#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Add a language code via an extension"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=103855">bug 103855</a>
              from <span class="vcard"><a class="email" href="mailto:erack@redhat.com" title="Eike Rathke <erack@redhat.com>"> <span class="fn">Eike Rathke</span></a>
</span></b>
        <pre>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
<a href="https://opengrok.libreoffice.org/xref/core/officecfg/registry/schema/org/openoffice/VCL.xcs?r=33e80611#79">https://opengrok.libreoffice.org/xref/core/officecfg/registry/schema/org/openoffice/VCL.xcs?r=33e80611#79</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>