In Romanian there is only one book starting with J. So, none should interfere, least of all an English one. But the English does.
On 13 Feb 2015 09:18, "Troy A. Griffitts" <scr...@crosswire.org> wrote:
The SWORD parser matches alphabetically lowest partial entry as priority. So....
If a locale had entries:
JUDE
JUDECATORII
JUDGES
Then
J -> JUDE
JU -> JUDE
JUD -> JUDE
JUDE -> JUDE
JUDEC -> JUDECATORII
If you want different behavior, then you'll want to add an alphabetically lower entry to override it. For example, if you provided:
JUD=Judges
Then this would result in fixing the first 3 entries.
It sounds like in your case, you just need to override JUDE. I would guess probably a few more because there are many J books and we had to pick our priorities carefully. I think J goes to John, so you may need to override J as well. Best thing is to do as Greg suggests and add some tests to our testsuite verse parse test for the Romanian locale. We have a bunch for German in there and adding a few Romanian ones wouldn't hurt either.
Hope this is helpful,
Troy
On February 12, 2015 10:08:02 AM MST, Peter Von Kaehne <ref...@gmx.net> wrote:Romanian for "Judges" is "Judecatori". Romanian for "Jude" is Iuda.
So "Ju", "Jud", "Jude", probably even "J" should only ever be understood as "Judecatori".
But alas, the parser, uses English abbreviations to override at certain and not entirely predictable places.
So, Jude will be translated into Jude despite being a valid abbreviation for Judges in the Romanian locale
If I now add "Jude=Judg" to the locale, I can fix that - but I get the same problem at "Jud". Why? Do I need to disable every single abbreviation which could be read as something in English? Our locale will probably need a massive overhaul if this is desired behaviour.
I personally think once I changed my locale into a non-English one no other "default" locale should interfere - or at the very least it should function only as a fallback if there is no possible "first locale" interpretation.
Or am I missing something?
Frustratedly
Peter
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page