[jsword-devel] I18N question
Yiguang Hu
yighu at yahoo.com
Wed Feb 18 09:10:25 MST 2009
Thanks Tonny.
That works!
(I mean org.crosswire.jsword.versification.BibleNames)
http://rock.ccim.org/gsword/gbook/v
The other question is how to get the Localized names for translations like KJV, UniChs etc?
Thanks
Yiguang
--- On Mon, 2/16/09, jsword-devel-request at crosswire.org <jsword-devel-request at crosswire.org> wrote:
> From: jsword-devel-request at crosswire.org <jsword-devel-request at crosswire.org>
> Subject: jsword-devel Digest, Vol 57, Issue 3
> To: jsword-devel at crosswire.org
> Date: Monday, February 16, 2009, 2:00 PM
> Send jsword-devel mailing list submissions to
> jsword-devel at crosswire.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://www.crosswire.org/mailman/listinfo/jsword-devel
> or, via email, send a message with subject or body
> 'help' to
> jsword-devel-request at crosswire.org
>
> You can reach the person managing the list at
> jsword-devel-owner at crosswire.org
>
> When replying, please edit your Subject line so it is more
> specific
> than "Re: Contents of jsword-devel digest..."
>
>
> Today's Topics:
>
> 1. Re: Question on I18N (Tonny Kohar)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 17 Feb 2009 00:21:56 +0700
> From: Tonny Kohar <tonny.kohar at gmail.com>
> Subject: Re: [jsword-devel] Question on I18N
> To: yighu at yahoo.com, J-Sword Developers Mailing List
> <jsword-devel at crosswire.org>
> Message-ID:
> <f75892d60902160921k4120346cw351cb589b40a0d77 at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hi,
>
> On Mon, Feb 9, 2009 at 4:12 AM, Yiguang Hu
> <yighu at yahoo.com> wrote:
> > Locale Question:
> >
> > For the following search, should the
> "bookInitials" be in English only?
> >
> > Book book =
> BookInstaller.getInstalledBook(bookInitials);
> >
> > I have a question when I need to run the application
> in Locale.China.
> > Under Locale.China,
> BibleInfo.getBookName(i).getShortName() return me the
> shortname in Chinese, that is what I want for display
> purpose.
> > But how to get the English version
> "shortname" (the "bookInitials" above)
> while under Locale.China?
> >
> > The other question is how do I get the localized short
> name for bibles?. The following always return me the list of
> > English bible names.
> >
> > Books.installed().getBooks(BookFilters.getBibles())
> >
>
> I think you can get the name (english) by using
> org.crosswire.jsword.versification.BibleNames. Just create
> a new
> instance of BibleNames by passing the english locale, then
> you can
> query the english name.
>
> Cheers
> Tonny Kohar
> --
> Alkitab Bible Study
> imagine, design, create ...
> http://www.kiyut.com
>
>
>
> ------------------------------
>
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel
>
>
> End of jsword-devel Digest, Vol 57, Issue 3
> *******************************************
More information about the jsword-devel
mailing list