Inclue all registered languages in download?

12 views
Skip to first unread message

Michael H

unread,
Aug 8, 2022, 11:10:45 AM8/8/22
to And Bible
Problem: I know there's a hawaiian creole English version in sword format, but it's very hard to find in AndBible. 

How to include / lookup / include in translation file all the languages listed in the IANA language tag registry? 

http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry

This registry only provides an English name for the tag, but it's better as a fallback to include both the code and the registry name, than just a 3 letter code. 

I don't see an English translation file, which I assume that means the native language for andbible interface is English? 

Tuomas Airaksinen

unread,
Aug 15, 2022, 11:27:06 AM8/15/22
to and-...@googlegroups.com
Hi,

Let's see how this works...

The language list in download and choose document view is populated in DocumentSelectionBase#populateLanguageList. 
It reads all available documents and adds their language to the list. 
Languages are translated in the Jsword library, Language:getName.
Language list in JSword is initialized from iso639.properties, which provides 
language names in each language (for example fi=Suomi). This is the default if specific file for the language is not found. 
There is also iso639_en.properties which gives list of names in format English name (Local name) i.e. for example Finnish (Suomi).
This is used when english language is enabled.

Does this help?


--
You received this message because you are subscribed to the Google Groups "And Bible" group.
To unsubscribe from this group and stop receiving emails from it, send an email to and-bible+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/and-bible/0ab96fee-2c36-4dec-8834-e3c4b813a217n%40googlegroups.com.


--
T: Tuomas
Reply all
Reply to author
Forward
0 new messages