From: Wilbert B. <wi...@os...> - 2002-02-20 11:53:21
|
Op Wed, 20 Feb 2002 11:26:24 +0000 krabbelde Thomas Leonard <ta...@ec...>: > On Wed, Feb 20, 2002 at 11:59:55AM +0100, Wilbert Berendsen wrote: > > > > Here's my full idea, please comment/ignore: > > > > <?xml version="1.0"?> > > <AppInfo> > > <!-- there can be multiple summary items, for each language --> > > <Summary>A graphical file manager</Summary> > > <Summary xml:lang="nl">Een grafisch bestandsbeheer > > programma</Summary><Summary xml:lang="fr">....</Summary> > > > > <!-- there can only be one about section --> > > <About> > > <!-- the entries in about may be, but need not be translated --> > > <Purpose>Manage files</Purpose> > > <Purpose xml:lang="nl">Beheer uw bestanden</Purpose> > > <Purpose xml:lang="in_TE.rcal">D:*(F^#-%%&dF-0d :-)</Purpose> > > You need to have multiple About sections, one for each language. > This way, the current version of the filer uses only the first section > it finds, and so will just display in the default language. The new > version will find the correct section for your language. I thought of that too, but it is a bit pointless to have things as homepage, version etc. duplicated for every language. > If we do it your way, the current filer will display every field in > every language, which isn't good for backwards compatibility ;-) I agree with that. But is the current AppInfo.xml format already in wide use? (is there already an established spec for it?) Would there be users that run *newer* apps with the new AppInfo.xml scheme while having an onder version of ROX? I mean, the newer AppInfo.xml layout would first be supported by a new ROX, so people having new AppInfo.xml files most likely will also have a new ROX. Of course the new ROX should also support the old (current) AppInfo.xml format(which would not be difficult.) But having multiple about sections is also possible. A consistent behaviour would then be also having multiple <AppMenu> sections, with the old (current) Item format: <Appmenu> <Item label="blah" option="-bla"/> <Item label="foo" option="-foo"/> </Appmenu> <Appmenu xml:lang="nl"> <Item label="blaat" option="-bla"/> .... etc. This would not break current filers. Thanks for sharing your thoughts, Bye, Wilbert -- Wilbert Berendsen (http://www.xs4all.nl/~wbsoft/) |