Language chooser. Version 2
Well, I believe that the information declared in langs.h file is sufficient.
So I am not going to modify it. This also means that program lc and list are
not changed as well.
Version 2 tries to address the need of supporting multiple platforms. To my
mind, what I have implemented is rather ugly. :) I believe, the DTD shold be
better thought out (correct? :)
I think that at least those languages that are declared in kbdconfig.c file,
should appear on the screen. Although, there is a problem here: we have three
places where localization appears:
-- the dialog of language chooser program
-- keyboard set
-- messages for dbootstrap program
I'd say that all languages that are presented in dbootstrap/po directory should
appear as a separate menu item in main dialog of lc program. But what to do
with other languages? Like Bulgarian, Turkish, etc... Where to put these?
Should we create a separate menu item, but warn users that no native language
dialogs are available for them?
Then, there are five supported platforms. But there are also
sub-architectures. These are detected at the time dbootstrap is started. For
different sub-architectures there could be different sets of keyboards (e.g.
for Amigaa dn Atari). How to cope with them?
There is also a problem with fonts. I put LatArCyrHeb font into example files.
And they look fine on my computer; when I sent the lc program to a friend of
mine, he said that after starting the program he only had 8 colors. It's only
then when I recalled that on VGA consoles 512 characters large console fonts
may result in problems. So I think we should specify 256 characters large
fonts with appropriate acms (if needed).
Then, I do not have any access to platforms other than i386. So I would not be
surprised if the current program has something i386 specific.
Please comment,
--
Mike
Reply to: