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

Discussions about using 3rd party extension with OpenOffice.org
Post Reply
jjmeric
Posts: 6
Joined: Sun Mar 19, 2017 7:13 pm

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

Post 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.
Open Office 4 all versions, Windows, Max OSX, Linux Ubuntu
User avatar
Hagar Delest
Moderator
Posts: 32627
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

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

Post 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
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
jjmeric
Posts: 6
Joined: Sun Mar 19, 2017 7:13 pm

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

Post by jjmeric »

thanks a lot, will do !
Open Office 4 all versions, Windows, Max OSX, Linux Ubuntu
User avatar
Zizi64
Volunteer
Posts: 11352
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

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

Post 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...
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
jjmeric
Posts: 6
Joined: Sun Mar 19, 2017 7:13 pm

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

Post 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...
Open Office 4 all versions, Windows, Max OSX, Linux Ubuntu
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

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

Post 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.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
jjmeric
Posts: 6
Joined: Sun Mar 19, 2017 7:13 pm

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

Post 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
Open Office 4 all versions, Windows, Max OSX, Linux Ubuntu
jjmeric
Posts: 6
Joined: Sun Mar 19, 2017 7:13 pm

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

Post 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>
Open Office 4 all versions, Windows, Max OSX, Linux Ubuntu
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

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

Post 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.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
jjmeric
Posts: 6
Joined: Sun Mar 19, 2017 7:13 pm

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

Post 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!
Open Office 4 all versions, Windows, Max OSX, Linux Ubuntu
Post Reply