Hi! I have a programming question about Lexique Pro again. In Lexique Pro you can add whatever languages you want for glossing and definitions. Separately from this, there is the language of the interface. There are a few languages you can choose from for the interface, but you can't add your own languages.
So my conlang is called Omni-kan, and I saw that there's a file called Omni-kan.lpConfig. (There's also a file called Omni-kan.lpConfig.bak with identical content, except for that there is a date inside the two files that is different.) The file Omni-kan.lpConfig contains a lot of translations for interface content, so I tried adding my own translations, but in the program I still can't change the interface language to one of my own languages (Japanese, Finnish, Swedish). It seems like there should be a line that defines what the possible interface languages are, but I can't find such a thing.
When I'm using the program and try to use Tools > Configure > Languages > Language properties and click on e.g. Japanese, there's a button called Translations. When I click this it gives me the option of defining what the abbreviation "Ja." should be called in other interface languages. The content looks like this:
Code: Select all
Interface in: Abbreviation of 'Japanese'
English Ja
日
Ja
Ja
The first line looks okay, because English is one of the default interface languages. But for the other languages, the abbreviation that I defined in the file is there, but the name of the interface language is not displayed.
This is what the file looks like, now that I've made my changes to it. Lines of the type <form lang="ja">オムニ語</form> are my own additions (as are lines with "fi" and "sv").
Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Lexique Pro Configuration File -->
<!-- Language: Omni-kan -->
<!-- Database: Omni-kan.db -->
<!-- Last Changed: -->
<lexiqueProConfig version="3.6" dateModified="2021-05-08T12:11:56">
<encoding type="UTF-8"/>
<writingSystems>
<!-- Main lexicon language -->
<writingSystem id="" type="main" enabled="true">
<displayNames>
<form lang="en">Omni-kan</form>
<form lang="ja">オムニ語</form>
<form lang="fi">omni-kan</form>
<form lang="sv">omnikanska</form>
</displayNames>
<sortOrder type="simple">
<sortLine>A a</sortLine>
<sortLine>B b</sortLine>
<sortLine>C c</sortLine>
<sortLine>D d</sortLine>
<sortLine>E e</sortLine>
<sortLine>F f</sortLine>
<sortLine>G g</sortLine>
<sortLine>H h</sortLine>
<sortLine>I i</sortLine>
<sortLine>J j</sortLine>
<sortLine>K k</sortLine>
<sortLine>L l</sortLine>
<sortLine>M m</sortLine>
<sortLine>N n</sortLine>
<sortLine>O o</sortLine>
<sortLine>P p</sortLine>
<sortLine>Q q</sortLine>
<sortLine>R r</sortLine>
<sortLine>S s</sortLine>
<sortLine>T t</sortLine>
<sortLine>U u</sortLine>
<sortLine>V v</sortLine>
<sortLine>W w</sortLine>
<sortLine>X x</sortLine>
<sortLine>Y y</sortLine>
<sortLine>Z z</sortLine>
</sortOrder>
<trait name="IsSortNeeded" value="true"/>
<trait name="SortFromEnd" value="false"/>
<trait name="HasPartOfSpeechIndex" value="true"/>
<ignoreChars>-</ignoreChars>
<ignoreSpaces ignore="false"/>
<alphabet display="true">a b c d e f g h i j k l m n o p q r s t u v w x y z</alphabet>
<alphaButtons display="true" width="23" height="17">
<alphaButtonsAlphabet></alphaButtonsAlphabet>
</alphaButtons>
<alphaSelect selectby="lx"/>
<inputButtons display="true" width="23" height="17">
<inputButtonsAlphabet></inputButtonsAlphabet>
</inputButtons>
<textDirection dir="LTR"/>
<defaultFontName>Lucida Sans Unicode</defaultFontName>
</writingSystem>
<!-- Languages used for glosses, definitions, translations -->
<writingSystem id="en" type="gloss" enabled="true">
<displayNames>
<form lang="en">English</form>
<form lang="fr">anglais</form>
<form lang="es">Inglés</form>
<form lang="pt">Inglês</form>
<form lang="bg">английски</form>
<form lang="rw">Icyongereza</form>
<form lang="id">Bahasa Inggris</form>
<form lang="zh-CHT">英文</form>
<form lang="zh-CHS">英文</form>
<form lang="km">អង់គ្លេស</form>
<form lang="ja">英語</form>
<form lang="fi">englanti</form>
<form lang="sv">engelska</form>
</displayNames>
<abbrev>
<form lang="en">En</form>
<form lang="jp">英</form>
<form lang="fi">En</form>
<form lang="sv">En</form>
</abbrev>
<markerChar>e</markerChar>
<trait name="IsDisplayedWithLabel" value="true"/>
<trait name="IsIndexed" value="true"/>
<lowerCase>a b c d e f g h i j k l m n o p q r s t u v w x y z</lowerCase>
<upperCase>A B C D E F G H I J K L M N O P Q R S T U V W X Y Z</upperCase>
<caseAssociations>
<caseLine>A a</caseLine>
<caseLine>B b</caseLine>
<caseLine>C c</caseLine>
<caseLine>D d</caseLine>
<caseLine>E e</caseLine>
<caseLine>F f</caseLine>
<caseLine>G g</caseLine>
<caseLine>H h</caseLine>
<caseLine>I i</caseLine>
<caseLine>J j</caseLine>
<caseLine>K k</caseLine>
<caseLine>L l</caseLine>
<caseLine>M m</caseLine>
<caseLine>N n</caseLine>
<caseLine>O o</caseLine>
<caseLine>P p</caseLine>
<caseLine>Q q</caseLine>
<caseLine>R r</caseLine>
<caseLine>S s</caseLine>
<caseLine>T t</caseLine>
<caseLine>U u</caseLine>
<caseLine>V v</caseLine>
<caseLine>W w</caseLine>
<caseLine>X x</caseLine>
<caseLine>Y y</caseLine>
<caseLine>Z z</caseLine>
</caseAssociations>
<sortOrder type="icu-locale"/>
<ignoreChars></ignoreChars>
<ignoreSpaces ignore="false"/>
<inputButtons display="false" width="23" height="17">
<inputButtonsAlphabet></inputButtonsAlphabet>
</inputButtons>
<textDirection dir="LTR"/>
<defaultFontName></defaultFontName>
</writingSystem>
<writingSystem id="ja" type="gloss" enabled="true">
<displayNames>
<form lang="en">Japanese</form>
<form lang="ja">日本語</form>
<form lang="fi">japani</form>
<form lang="sv">japanska</form>
</displayNames>
<abbrev>
<form lang="en">Ja</form>
<form lang="ja">日</form>
<form lang="fi">Ja</form>
<form lang="sv">Ja</form>
</abbrev>
<markerChar>j</markerChar>
<trait name="IsDisplayedWithLabel" value="true"/>
<trait name="IsIndexed" value="true"/>
<sortOrder type="icu-locale"/>
<ignoreChars></ignoreChars>
<ignoreSpaces ignore="false"/>
<inputButtons display="true" width="23" height="17">
<inputButtonsAlphabet>;</inputButtonsAlphabet>
</inputButtons>
<textDirection dir="LTR"/>
<keyboard id="1041" name="Japanska (Japan)"/>
<defaultFontName></defaultFontName>
</writingSystem>
<writingSystem id="fi" type="gloss" enabled="true">
<displayNames>
<form lang="en">Finnish</form>
<form lang="ja">フィンランド語</form>
<form lang="fi">suomi</form>
<form lang="sv">finska</form>
</displayNames>
<abbrev>
<form lang="en">Fi</form>
<form lang="ja">芬</form>
<form lang="fi">S</form>
<form lang="sv">Fi</form>
</abbrev>
<markerChar>f</markerChar>
<trait name="IsDisplayedWithLabel" value="true"/>
<trait name="IsIndexed" value="true"/>
<sortOrder type="icu-locale"/>
<ignoreChars></ignoreChars>
<ignoreSpaces ignore="false"/>
<inputButtons display="true" width="23" height="17">
<inputButtonsAlphabet>Ä ä Ö ö</inputButtonsAlphabet>
</inputButtons>
<textDirection dir="LTR"/>
<keyboard id="1053" name="Svenska (Sverige)"/>
<defaultFontName></defaultFontName>
</writingSystem>
<writingSystem id="sv" type="gloss" enabled="true">
<displayNames>
<form lang="en">Swedish</form>
<form lang="ja">スウェーデン語</form>
<form lang="fi">ruotsi</form>
<form lang="sv">svenska</form>
</displayNames>
<abbrev>
<form lang="en">Swe</form>
<form lang="ja">瑞</form>
<form lang="fi">Rts</form>
<form lang="sv">Sv</form>
</abbrev>
<markerChar>s</markerChar>
<trait name="IsDisplayedWithLabel" value="true"/>
<trait name="IsIndexed" value="true"/>
<sortOrder type="icu-locale"/>
<ignoreChars></ignoreChars>
<ignoreSpaces ignore="false"/>
<inputButtons display="true" width="23" height="17">
<inputButtonsAlphabet>Å å Ä ä Ö ö</inputButtonsAlphabet>
</inputButtons>
<textDirection dir="LTR"/>
<defaultFontName></defaultFontName>
</writingSystem>
</writingSystems>
<!-- Formatting styles, fonts and labels -->
<formatting>
<format type="list" lang="Omni-kan">
<view type="interface">
<font>
<name>Lucida Sans Unicode</name>
<size>10</size>
<style bold="false" italic="false" underline="false" />
<color>black</color>
</font>
</view>
</format>
<format type="list-title" lang="Omni-kan">
<view type="interface">
<font>
<name>Arial</name>
<size>9</size>
<style bold="true" italic="false" underline="false" />
<color>navy</color>
</font>
</view>
</format>
<format type="input-box" lang="Omni-kan">
<view type="interface">
<font>
<name>Lucida Sans Unicode</name>
<size>11</size>
<style bold="false" italic="false" underline="false" />
<color>black</color>
</font>
</view>
</format>
<format type="alpha-buttons" lang="Omni-kan">
<view type="interface">
<font>
<name>Lucida Sans Unicode</name>
<size>8</size>
<style bold="false" italic="false" underline="false" />
<color>black</color>
</font>
</view>
</format>
<format type="input-buttons" lang="Omni-kan">
<view type="interface">
<font>
<name>Lucida Sans Unicode</name>
<size>8</size>
<style bold="false" italic="false" underline="false" />
<color>black</color>
</font>
</view>
</format>
<format type="entry-name" lang="Omni-kan">
<view type="single">
<font>
<name>Lucida Sans Unicode</name>
<size>16</size>
<style bold="true" italic="false" underline="false" />
<color>black</color>
</font>
</view>
<view type="multiple">
<font>
<name>Lucida Sans Unicode</name>
<size>11</size>
<style bold="true" italic="false" underline="false" />
<color>black</color>
</font>
</view>
<trait name="link-style" value="none"/>
<trait name="label-style" value="none"/>
</format>
<format type="sub-entry" lang="Omni-kan">
<view type="single">
<font>
<name>Lucida Sans Unicode</name>
<size>13</size>
<style bold="true" italic="false" underline="false" />
<color>black</color>
</font>
</view>
<view type="multiple">
<font>
<name>Lucida Sans Unicode</name>
<size>10</size>
<style bold="true" italic="false" underline="false" />
<color>black</color>
</font>
</view>
<trait name="link-style" value="none"/>
<trait name="label-style" value="none"/>
</format>
<format type="example" lang="Omni-kan">
<view type="single">
<font>
<name>Lucida Sans Unicode</name>
<size>11</size>
<style bold="false" italic="false" underline="false" />
<color>purple</color>
</font>
</view>
<view type="multiple">
<font>
<name>Lucida Sans Unicode</name>
<size>9</size>
<style bold="true" italic="false" underline="false" />
<color>purple</color>
</font>
</view>
<trait name="link-style" value="none"/>
<trait name="label-style" value="none"/>
</format>
<format type="lexical-function" lang="Omni-kan">
<view type="single">
<font>
<name>Lucida Sans Unicode</name>
<size>11</size>
<style bold="false" italic="false" underline="false" />
<color>maroon</color>
</font>
</view>
<view type="multiple">
<font>
<name>Lucida Sans Unicode</name>
<size>9</size>
<style bold="true" italic="false" underline="false" />
<color>maroon</color>
</font>
</view>
<trait name="link-style" value="entry"/>
<trait name="label-style" value="same"/>
</format>
<format type="morph" lang="Omni-kan">
<view type="single">
<font>
<name>Lucida Sans Unicode</name>
<size>11</size>
<style bold="false" italic="false" underline="false" />
<color>green</color>
</font>
<label>
<form lang="en">Morph:</form>
<form lang="fr">Morph. :</form>
<form lang="es">Morf. :</form>
<form lang="pt">Morf. :</form>
<form lang="bg">Морфология:</form>
<form lang="rw">Teg.:</form>
<form lang="id">Morf:</form>
<form lang="zh-CHT">形態</form>
<form lang="zh-CHS">形态</form>
<form lang="km">សណ្ឋាន៖</form>
<form lang="ja">形態論</form>
<form lang="fi">Morf.:</form>
<form lang="sv">Morf.:</form>
</label>
</view>
<view type="multiple">
<font>
<name>Lucida Sans Unicode</name>
<size>9</size>
<style bold="true" italic="false" underline="false" />
<color>green</color>
</font>
</view>
<trait name="link-style" value="morphology"/>
<trait name="label-style" value="same"/>
</format>
<format type="cross-ref" lang="Omni-kan">
<view type="single">
<font>
<name>Lucida Sans Unicode</name>
<size>11</size>
<style bold="false" italic="false" underline="false" />
<color>teal</color>
</font>
<label>
<form lang="en">See:</form>
<form lang="fr">Voir :</form>
<form lang="es">Ver :</form>
<form lang="pt">Ver :</form>
<form lang="bg">Вж.:</form>
<form lang="rw">Reba:</form>
<form lang="id">Lihat: </form>
<form lang="zh-CHT">檢視</form>
<form lang="zh-CHS">查看</form>
<form lang="km">មើល៖</form>
<form lang="ja">参照</form>
<form lang="fi">Ks.</form>
<form lang="sv">Se:</form>
</label>
</view>
<view type="multiple">
<font>
<name>Lucida Sans Unicode</name>
<size>9</size>
<style bold="true" italic="false" underline="false" />
<color>teal</color>
</font>
</view>
<trait name="link-style" value="entry"/>
<trait name="label-style" value="same"/>
</format>
<format type="main-cross-ref" lang="Omni-kan">
<view type="single">
<font>
<name>Lucida Sans Unicode</name>
<size>11</size>
<style bold="false" italic="false" underline="false" />
<color>navy</color>
</font>
<label>
<form lang="en">See main entry:</form>
<form lang="fr">Voir entrée principale :</form>
<form lang="es">Ver entrada principal :</form>
<form lang="pt">Ver entrada principal :</form>
<form lang="bg">Вж. главната статия:</form>
<form lang="rw">Reba umwinjizo w'ingenzi:</form>
<form lang="id">Lihat entri utama:</form>
<form lang="zh-CHT">檢視主要詞條標記</form>
<form lang="zh-CHS">查看主要词条标记</form>
<form lang="km">មើលមេពាក្យ៖</form>
<form lang="ja">親見出し参照</form>
<form lang="fi">Katso hakusana:</form>
<form lang="sv">Se huvudord:</form>
</label>
</view>
<view type="multiple">
<font>
<name>Lucida Sans Unicode</name>
<size>9</size>
<style bold="true" italic="false" underline="false" />
<color>navy</color>
</font>
</view>
<trait name="link-style" value="entry"/>
<trait name="label-style" value="same"/>
</format>
<format type="paradigm" lang="Omni-kan">
<view type="single">
<font>
<name>Lucida Sans Unicode</name>
<size>11</size>
<style bold="false" italic="false" underline="false" />
<color>navy</color>
</font>
</view>
<view type="multiple">
<font>
<name>Lucida Sans Unicode</name>
<size>9</size>
<style bold="true" italic="false" underline="false" />
<color>navy</color>
</font>
</view>
<trait name="link-style" value="entry"/>
<trait name="label-style" value="same"/>
</format>
<format type="variant" lang="Omni-kan">
<view type="single">
<font>
<name>Lucida Sans Unicode</name>
<size>11</size>
<style bold="false" italic="false" underline="false" />
<color>navy</color>
</font>
<label>
<form lang="en">Variant:</form>
<form lang="fr">Variante :</form>
<form lang="es">Variante :</form>
<form lang="pt">Variante :</form>
<form lang="bg">Вариант:</form>
<form lang="rw">Ukundi yandikwa:</form>
<form lang="id">Varian: </form>
<form lang="zh-CHT">變化形</form>
<form lang="zh-CHS">变化型</form>
<form lang="km">ក្លាយ៖</form>
<form lang="ja">変種</form>
<form lang="fi">Rinnakkaismuoto:</form>
<form lang="sv">Variant:</form>
</label>
</view>
<view type="multiple">
<font>
<name>Lucida Sans Unicode</name>
<size>9</size>
<style bold="true" italic="false" underline="false" />
<color>navy</color>
</font>
</view>
<trait name="link-style" value="none"/>
<trait name="label-style" value="same"/>
</format>
<format type="encyc" lang="Omni-kan">
<view type="single">
<font>
<name>Lucida Sans Unicode</name>
<size>10</size>
<style bold="true" italic="false" underline="false" />
<color>black</color>
</font>
</view>
<view type="multiple">
<font>
<name>Lucida Sans Unicode</name>
<size>9</size>
<style bold="false" italic="false" underline="false" />
<color>black</color>
</font>
</view>
<trait name="link-style" value="none"/>
<trait name="label-style" value="none"/>
</format>
<format type="gloss" lang="Omni-kan">
<view type="single">
<font>
<name>Lucida Sans Unicode</name>
<size>10</size>
<style bold="false" italic="false" underline="false" />
<color>black</color>
</font>
</view>
<view type="multiple">
<font>
<name>Lucida Sans Unicode</name>
<size>9</size>
<style bold="false" italic="false" underline="false" />
<color>black</color>
</font>
</view>
<trait name="link-style" value="none"/>
<trait name="label-style" value="none"/>
</format>
<format type="part-of-speech">
<view type="single">
<font>
<name>Times New Roman</name>
<size>11</size>
<style bold="true" italic="false" underline="false" />
<color>green</color>
</font>
</view>
<view type="multiple">
<font>
<name>Times New Roman</name>
<size>9</size>
<style bold="false" italic="true" underline="false" />
<color>green</color>
</font>
</view>
<trait name="link-style" value="none"/>
<trait name="label-style" value="none"/>
</format>
<format type="phonetic">
<view type="single">
<font>
<name>Lucida Sans Unicode</name>
<size>10</size>
<style bold="false" italic="false" underline="false" />
<color>navy</color>
</font>
</view>
<view type="multiple">
<font>
<name>Lucida Sans Unicode</name>
<size>9</size>
<style bold="false" italic="false" underline="false" />
<color>navy</color>
</font>
</view>
<trait name="link-style" value="none"/>
<trait name="label-style" value="none"/>
</format>
<format type="label">
<view type="single">
<font>
<name>Times New Roman</name>
<size>10</size>
<style bold="false" italic="true" underline="false" />
<color>black</color>
</font>
</view>
<view type="multiple">
<font>
<name>Times New Roman</name>
<size>9</size>
<style bold="false" italic="true" underline="false" />
<color>black</color>
</font>
</view>
<trait name="link-style" value="none"/>
<trait name="label-style" value="none"/>
</format>
<format type="language-label">
<view type="single">
<font>
<name>Arial</name>
<size>8</size>
<style bold="false" italic="false" underline="false" />
<color>green</color>
</font>
</view>
<view type="multiple">
<font>
<name>Arial</name>
<size>7</size>
<style bold="false" italic="false" underline="false" />
<color>green</color>
</font>
</view>
<trait name="link-style" value="none"/>
<trait name="label-style" value="none"/>
</format>
<format type="reference">
<view type="single">
<font>
<name>Lucida Sans Unicode</name>
<size>8</size>
<style bold="false" italic="false" underline="false" />
<color>black</color>
</font>
</view>
<view type="multiple">
<font>
<name>Lucida Sans Unicode</name>
<size>7</size>
<style bold="false" italic="false" underline="false" />
<color>black</color>
</font>
</view>
<trait name="link-style" value="none"/>
<trait name="label-style" value="none"/>
</format>
<format type="scientific">
<view type="single">
<font>
<name>Times New Roman</name>
<size>10</size>
<style bold="false" italic="true" underline="true" />
<color>black</color>
</font>
</view>
<view type="multiple">
<font>
<name>Times New Roman</name>
<size>10</size>
<style bold="false" italic="true" underline="true" />
<color>black</color>
</font>
</view>
<trait name="link-style" value="google"/>
<trait name="label-style" value="none"/>
</format>
<format type="borrowed-word">
<view type="single">
<font>
<name>Times New Roman</name>
<size>11</size>
<style bold="false" italic="false" underline="false" />
<color>black</color>
</font>
<label>
<form lang="en">From:</form>
<form lang="fr">Source :</form>
<form lang="es">Del :</form>
<form lang="pt">De :</form>
<form lang="bg">От:</form>
<form lang="rw">Ryatiriwe ku:</form>
<form lang="id">Dari: </form>
<form lang="zh-CHT">從</form>
<form lang="zh-CHS">从</form>
<form lang="km">ពី៖</form>
<form lang="ja">元</form>
<form lang="fi">Alkuperä:</form>
<form lang="sv">Från:</form>
</label>
</view>
<view type="multiple">
<font>
<name>Times New Roman</name>
<size>10</size>
<style bold="false" italic="false" underline="false" />
<color>black</color>
</font>
</view>
<trait name="link-style" value="none"/>
<trait name="label-style" value="same"/>
</format>
<format type="etymology">
<view type="single">
<font>
<name>Times New Roman</name>
<size>11</size>
<style bold="false" italic="false" underline="false" />
<color>navy</color>
</font>
<label>
<form lang="en">Etym:</form>
<form lang="fr">Etym :</form>
<form lang="es">Etim :</form>
<form lang="pt">Etim. :</form>
<form lang="bg">Етимология:</form>
<form lang="rw">Kmk.:</form>
<form lang="id">Etim:</form>
<form lang="zh-CHT">語源</form>
<form lang="zh-CHS">语源</form>
<form lang="km">កំណើតពាក្យ៖</form>
<form lang="ja">語源</form>
<form lang="fi">Etym.:</form>
<form lang="sv">Etym.:</form>
</label>
</view>
<view type="multiple">
<font>
<name>Times New Roman</name>
<size>10</size>
<style bold="false" italic="false" underline="false" />
<color>navy</color>
</font>
</view>
<trait name="link-style" value="none"/>
<trait name="label-style" value="same"/>
</format>
<format type="category">
<view type="single">
<font>
<name>Arial</name>
<size>10</size>
<style bold="true" italic="false" underline="false" />
<color>purple</color>
</font>
<label>
<form lang="en">Category:</form>
<form lang="fr">Catégorie :</form>
<form lang="es">Categoría :</form>
<form lang="pt">Categoria :</form>
<form lang="bg">Категория:</form>
<form lang="rw">Icyiciro:</form>
<form lang="id">Kategori:</form>
<form lang="zh-CHT">範疇歸類</form>
<form lang="zh-CHS">范畴归类</form>
<form lang="km">ជំពូក៖</form>
<form lang="ja">範疇</form>
<form lang="fi">Kategoria:</form>
<form lang="sv">Kategori:</form>
</label>
</view>
<view type="multiple">
<font>
<name>Arial</name>
<size>9</size>
<style bold="true" italic="false" underline="false" />
<color>purple</color>
</font>
</view>
<trait name="link-style" value="none"/>
<trait name="label-style" value="same"/>
</format>
<format type="category-index">
<view type="interface">
<font>
<name>Arial</name>
<size>9</size>
<style bold="true" italic="false" underline="false" />
<color>purple</color>
</font>
</view>
</format>
<format type="category-description">
<view type="interface">
<font>
<name>Arial</name>
<size>9</size>
<style bold="false" italic="false" underline="false" />
<color>black</color>
</font>
</view>
</format>
The text was too long for the forum, so the next half comes in the next post...
Is there anyone who can figure this out, and could help me with adding my own interface languages?