[sword-devel] Displaying the chapter and verse in other numbers

David Haslam dfhdfh at protonmail.com
Sat Jul 20 23:57:16 MST 2019


That’s the first time I read that SWORD supports Roman numerals. But does it include support for the special Unicode characters for Roman Numerals (eg) U+216C (FIFTY) ?

- Does any front-end make use of this feature?
- Do any of the Sword utilities make use of  it?

Several Unicode scripts have a set of characters for the digits 0-9.

Most of these are for commonly used national languages, etc.

For Thai these are U+0E50 to U+0E59.

I think we need to support such for all the languages that have always featured or later adopted decimal numbering.

I don’t think we need to give any priority to numbers beyond decimal digits.

Admittedly, there are a few scripts that have special characters for other numbers such as TEN to NINETEEN in MEDEFAIDRIN. I see no urgent need to consider these in the context of chapter and verse numbers.

Aside: There are also some ancient scripts such as COPTIC that have EPACT NUMBERS as special characters for (eg) EIGHT HUNDRED. These were included in Unicode 12.0

We are only really interested in enhancing support for those numbers that occur in front-end UIs, namely chapter and verse numbers.

Such numbers need to be parsed by the API and displayed according to a module configuration requirement.

David

Sent from ProtonMail Mobile

On Sun, Jul 21, 2019 at 04:41, Troy A. Griffitts <scribe at crosswire.org> wrote:

> Michael, I would be interested to hear your logic for internationalizing a numeric parser.  I always assumed it wasn't as simply as providing alternate symbol codes for 0-9.  Think Roman Numerals (SWORD already supports Roman Numerals).  If it was as simply as swapping out, say 47 with an alternate symbol for '4' and an alternate symbol for '7', it wouldn't be much of a problem to solve, but I suspect other languages do things like: XLVII.
>
> On 7/20/19 1:49 PM, Michael Johnson wrote:
>
>> It is an important question. I have a way to handle it in other formats using Haiola. I suspect that proper handling it in SWORD will take a design change. In Haiola, the source chapter and verse numbers are always as in English. I can select display chapter and verse numbers from many options.
>>
>> Aloha,
>> Michael
>> http://mpj.us
>>
>> On Jul 20, 2019, at 10:39, Cyrille <lafricain79 at gmail.com> wrote:
>>
>>> Hello,
>>> No body else have a proposition for this question? Should I open a bug report?
>>> Is it not an important question?
>>>
>>> Best regards, Br Cyrille
>>>
>>> Le 17/07/2019 à 23:14, David Haslam a écrit :
>>>
>>>> Several other non-Roman scripts have their own digit characters corresponding to our 0-9.
>>>>
>>>> IMHO the possibilities for using non-Roman digits ought to be facilitated in the back-end.
>>>>
>>>> Even so, each front-end would then require a new UI control to select which script should be used to display the chapter and verse numbers.
>>>>
>>>> An alternate idea would be to specify the non-Roman digits as a ten character UTF-8 string in a module .conf file.
>>>>
>>>> Adapting the back-end to use this module specific configuration key might be much simpler.
>>>>
>>>> Front-ends would still require adapting for the UI features that require chapter and verse numbers to be input or displayed or adjusted by controls.
>>>>
>>>> Best regards,
>>>>
>>>> David
>>>>
>>>> Sent from ProtonMail Mobile
>>>>
>>>> On Wed, Jul 17, 2019 at 22:00, Cyrille <lafricain79 at gmail.com> wrote:
>>>>
>>>>> Hello,
>>>>> I'm still working on a modern NT-Ps-Pr translation in Burmese. My friends from Myanmar send me the text. But they don't use the arab numbers, they hava their own numbers.
>>>>> It could be very important for them to write in they own numbers (If I had tu use their I will be lost ;) ).
>>>>> Is it possible to add this possibility to the frontend, or this should be in sword directly?
>>>>> Need I to open a new issue on the bug tracker?
>>>>>
>>>>> Example of text, in bold the chapter and verses:
>>>>>
>>>>> ၃ ၁။ ထိုနေ့ရက်တို့၌ ယောဟန်ဘတ္တိဇံသည် ရောက်လာ၍ ဂျူဒေးယပြည်၊ တောကန္တာရတွင် ဟော
>>>>>
>>>>> ၂။ ပြောသည်မှာ၊- နောင်တရကြလော့၊ အကြောင်းမူကား ကောင်းကင်နိုင်ငံတော်သည် ရောက်လုနီးပြီဟူ၍တည်း။-
>>>>>
>>>>> ၃။ ပရောဖက်အီဇာယဟောထားခဲ့သည့်အတိုင်း၊ ထာ၀ရ ဘုရားသခင်ကြွလာတော်မူမည့်လမ်းကိုပြင်ဆင်ကြ လော့၊ ကိုယ်တော်၏ လမ်းများကို ဖြောင့်တန်းစေကြ လော့ဟူ၍ တောကန္တာရ၌ ကြွေးကြော်သောသူ၏အသံသည်ကား ဤသူပင်ဖြစ်သတည်း။-
>>>>>
>>>>> ၄။ ယောဟန်သည် ကုလားအုတ်မွေးဖြင့် ရက်လုပ်သောအဝတ်ကိုဝတ်ဆင်ကာ ခါး၌ သားရေခါးစည်းကြိုးကိုစည်းထား၏။ သူ၏အစာသည်ကား ကျိုင်းကောင်နှင့် တောပျားရည်တို့သာဖြစ်၏။-
>>>>>
>>>>> ၅။ ထိုအခါ ဂျေရုဆလင်မြို့မှစ၍ ဂျူဒေးယနယ်တစ်နယ် လုံးနှင့် ဂျော်ဒန်မြစ်တစ်လျှောက်ရှိဒေသမှ လူအပေါင်း တို့သည် သူ့ထံသို့ လာကြ၏။-
>>>>>
>>>>> ၆။ ထိုသူတို့သည် မိမိတို့၏ အပြစ်များကို ထုတ်ဖော်ဝန်ခံကြလျက် ဂျော်ဒန်မြစ်တွင် သူ့အားဖြင့် ဆေးကြောခြင်းကို ခံယူကြ၏။
>>>>
>>>> _______________________________________________
>>>> sword-devel mailing list:
>>>> sword-devel at crosswire.org
>>>>
>>>> http://www.crosswire.org/mailman/listinfo/sword-devel
>>>> Instructions to unsubscribe/change your settings at above page
>>
>>> _______________________________________________
>>> sword-devel mailing list: sword-devel at crosswire.org
>>> http://www.crosswire.org/mailman/listinfo/sword-devel
>>> Instructions to unsubscribe/change your settings at above page
>>
>> _______________________________________________
>> sword-devel mailing list:
>> sword-devel at crosswire.org
>>
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20190721/d750fbac/attachment-0001.html>


More information about the sword-devel mailing list