[Zope3-dev] onlinehelp i18n aware

Dmitry Vasiliev lists at hlabs.spb.ru
Wed Nov 15 04:28:19 EST 2006


Jean-François Roche wrote:
>   I meet a usecase that i don't really see how to solve. My users need
> some kind of contextual help and these help files need to be in
> different languages. I looked closer at onlinehelp but it seems that no
> i18n link have been done. I was wondering if you might have an idea on
> how to implement this in a nice way ?

I've thought about this a few months ago and my initial thoughts was about 
slightly modified interfaces like this:

class II18NOnlineHelpTopic(Interface):

     def getTitle(language=None):
         pass

     def getPath(language=None):
         pass

     def addResources(resources, language=None):
         pass

class II18NSourceTextOnlineHelpTopic(II18NOnlineHelpTopic):

     def getSource(language=None):
         pass

     def getType(language=None):
         pass

Unfortunately it's just a raw thoughts and I don't have time right now to start 
implementing it. :-(

-- 
Dmitry Vasiliev (dima at hlabs.spb.ru)
     http://hlabs.spb.ru


More information about the Zope3-dev mailing list