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

Discussions about using 3rd party extension with OpenOffice.org

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

Postby jjmeric » Sun Mar 19, 2017 7:26 pm

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
jjmeric
 
Posts: 6
Joined: Sun Mar 19, 2017 7:13 pm

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

Postby Hagar Delest » Sun Mar 19, 2017 9:39 pm

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
AOO 4.1.3 on Xubuntu 17.04, (Zesty Zapus) and on Windows 7 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 27580
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

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

Postby jjmeric » Mon Mar 20, 2017 11:08 am

thanks a lot, will do !
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"

Postby Zizi64 » Mon Mar 20, 2017 11:47 am

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; LibreOffice4.4.7 on Win7x64Prof.
And the portable versions: LO3.3.0-LO5.3.4 and AOO4.1.3
Please, edit the topic's initial post, and add the word "[Solved]" at the beginning of the subject line - if your problem has been solved.
User avatar
Zizi64
Volunteer
 
Posts: 5457
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

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

Postby jjmeric » Mon Mar 20, 2017 12:22 pm

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
jjmeric
 
Posts: 6
Joined: Sun Mar 19, 2017 7:13 pm

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

Postby RoryOF » Mon Mar 20, 2017 12:24 pm

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.3 on Xubuntu 16.04 (mostly 64 bit version) and infrequently on Win2K/XP
14 October 2016 was Pooh's 90th birthday
User avatar
RoryOF
Moderator
 
Posts: 24561
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

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

Postby jjmeric » Mon Mar 20, 2017 12:52 pm

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"

Postby jjmeric » Mon Mar 20, 2017 1:21 pm

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
jjmeric
 
Posts: 6
Joined: Sun Mar 19, 2017 7:13 pm

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

Postby RoryOF » Mon Mar 20, 2017 1:32 pm

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.3 on Xubuntu 16.04 (mostly 64 bit version) and infrequently on Win2K/XP
14 October 2016 was Pooh's 90th birthday
User avatar
RoryOF
Moderator
 
Posts: 24561
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

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

Postby jjmeric » Mon Mar 20, 2017 3:26 pm

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
jjmeric
 
Posts: 6
Joined: Sun Mar 19, 2017 7:13 pm


Return to Extensions

Who is online

Users browsing this forum: No registered users and 3 guests