[bt-devel] bugs

Martin Gruner bt-devel@crosswire.org
Thu, 6 Mar 2003 18:47:16 +0100


Hey Joachim,

> Which languages are missing?
> On my side there's no language name for pt_BR, which is not a valid
> language abbrev according to the standards we use.
> Are there any other languages which are missing? Please send me the
> abbrevs.

Basically all those that are already shown as abbrevs in the Main index, like 
pt_BR, en_UK, xx_CEB, xx_JIV and so on. The tooltip of the modules shows an 
empty field for language.

> The abbrevs don't show up there because we don't have them in our internal
> list of languages.

Yeah, but that can always happen, that new languages are added while no new 
BibleTime release is made. BT needs to be able to handle that.

> When language.name() or language.translatedName() return the same as
> language.abbrev() this will cause troubles!

Why?

> In the font chooser box there are only the languages listed which are
> return by CLanguageMgr::availableLanguages().
> We can't create languages on the fly, this would cause troubles later (I
> think).

Right. availableLanguages() needs to return all lanugages that are in use, 
even if only the abbrev of a language is known. Just juse the abbrev as 
language name. Do you think that would be a problem?

Martin