[sword-devel] Locale differences

DM Smith dmsmith at crosswire.org
Wed Sep 12 06:51:37 MST 2012

On Sep 12, 2012, at 6:10 AM, Peter von Kaehne <refdoc at gmx.net> wrote:

> So, Jsword's use of English as default first is simply wrong, unless the user has a way of undoing that.

The problem, which SWORD has also, is that the parsing routine does not distinguish between user input and module or application input. If we did, then we could skip checking OSIS.

JSword does not use English first. It uses exact matching on OSIS book names first. Only exact match. Yes these can be thought of as English. Yes there is a possibility of conflict.

Since we have a finite number of book name translations, it should be fairly easy to check to see if there are any conflicts. I.e. pulls back a different book than the OSIS book.

Then it does Locale based lookup using exact match and then heuristics. Finally repeats the process with the English default.

-- DM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20120912/e6d6c409/attachment.html>

More information about the sword-devel mailing list