Page 1 of 1

Adding N'ko to the list of "complex scripts"

Posted: Sun Mar 19, 2017 7:26 pm
by jjmeric
Hello everybody !

I am currently about to release a spell-checker for Maninka (a West African language, mainly spoken in Guinea).
This language is written in the N'ko script, a Right-to-left language like Arabic and others. See https://en.wikipedia.org/wiki/N%27Ko_alphabet

This requires two things:

1) the script should be listed in the list of Complex scripts (Linguistic options/Language) alongside Hindi, Arabic, etc.
- a similar list is displayed in Format/character for "complex script font / language

2) the value "nqo-GN" (official for N'ko) should be accepted as a Locale in the spell-checker's dictionaries.xcu file
<prop oor:name="Locales" oor:type="oor:string-list">
<value>nqo-GN</value>
</prop>
NOTE : this works well in Libre Ofiice, it does not in Open Office 4.1.3

What is the process to get this acted upon ? Possibly this is not the right place to post...
Anything I can do to help, I will, of course!

Thanks for help & advice.

Re: Adding N'ko to the list of "complex scripts"

Posted: Sun Mar 19, 2017 9:39 pm
by Hagar Delest
Hi and welcome to the forum!

For such a question, you should ask the dev mailing list: https://openoffice.apache.org/mailing-l ... ist-public

Re: Adding N'ko to the list of "complex scripts"

Posted: Mon Mar 20, 2017 11:08 am
by jjmeric
thanks a lot, will do !

Re: Adding N'ko to the list of "complex scripts"

Posted: Mon Mar 20, 2017 11:47 am
by Zizi64
NOTE : this works well in Libre Ofiice, it does not in Open Office 4.1.3
Or use the latest Still LO version...

Re: Adding N'ko to the list of "complex scripts"

Posted: Mon Mar 20, 2017 12:22 pm
by jjmeric
to be more precise :
1) the requirement for N'ko in complex scripts (in Linguistic/Languages/CTL) , is something I also asked the LO team. It's not there in LO 5.0.3.2
2) the choice of Languages works well in Libre Office, I mean : it is displayed as "N'ko" in the list of Languages for choice in Format/character for complex scripts, and it has the spellcheck green "checked" icon.

This is the desired behavior, it does not work currently in Open Office 4.1.3.
However, if I pretend my spell checker is for ar-SA (Arabic (Saudi Arabia) in OO, it will display the green "checked" icon, and work properly as a N'ko spellchecker. However this is very bad diplomacy...

Re: Adding N'ko to the list of "complex scripts"

Posted: Mon Mar 20, 2017 12:24 pm
by RoryOF
As a wild guess (and it is exactly that - a GUESS), try removing the apostrophe from N'ko and see if it works in OO.

Re: Adding N'ko to the list of "complex scripts"

Posted: Mon Mar 20, 2017 12:52 pm
by jjmeric
thanks Rory
I checked again but I am not passing this information, ony "nqo-GN", which I did not make-up but is based on lists of standard names. The fact that LO displays it as "N'ko" in the Language list (format/character/complex scripts) is a proof that this standard list exists somewhere else than in the few description .xcu and .xml files used by the spell-checker.
Have a nice day

Re: Adding N'ko to the list of "complex scripts"

Posted: Mon Mar 20, 2017 1:21 pm
by jjmeric
nqo actually defined in LibreOffice 5/share/liblangtag/language-subtag-registry.xml :
- <language>
<subtag>nqo</subtag>
<description>N'Ko</description>
<description>N’Ko</description>
<added>2006-06-05</added>
<suppress-script>Nkoo</suppress-script>
</language>

Re: Adding N'ko to the list of "complex scripts"

Posted: Mon Mar 20, 2017 1:32 pm
by RoryOF
On my Xubuntu 16.04 this entry is found in
/usr/share/liblangtag/language-subtag-registry.xml

That is the full path on my computer. There is no other instance of the file language-subtag-registry.xml.

Re: Adding N'ko to the list of "complex scripts"

Posted: Mon Mar 20, 2017 3:26 pm
by jjmeric
I confirm, same here on ubuntu 16.04 LTS. The path I mentionned was on Windows .. XP ;-) That said this is for LO, not OO... I didn't find a similar file in OO, or I didn't look in the right place and missed it completely!