[Zope3-dev] Re: language availablity

2006-07-06 Thread Hanno Schlichting
Hi. Chris Withers wrote: Been looking more into getting lists of available languages for a domain out of Zope 3. Just curious, do you use only the zope domain or some other domains as well? Philipp pointed me to zope.i18n.interfaces.ILanguageAvailability, which appears to be a tiny

[Zope3-dev] Re: language availablity

2006-07-06 Thread Chris Withers
Hanno Schlichting wrote: Chris Withers wrote: Been looking more into getting lists of available languages for a domain out of Zope 3. Just curious, do you use only the zope domain or some other domains as well? Other domains as well. In fact, the only domain I care about is one specific to

[Zope3-dev] Re: language availablity

2006-07-06 Thread Philipp von Weitershausen
Chris Withers wrote: Hi All, Been looking more into getting lists of available languages for a domain out of Zope 3. Philipp pointed me to zope.i18n.interfaces.ILanguageAvailability, which appears to be a tiny interface that's not used anywhere. Not within in Zope 3 at least... What

[Zope3-dev] Re: language availablity

2006-07-06 Thread Philipp von Weitershausen
Chris Withers wrote: TranslationDomain should still implement ILanguageAvailability and zope.i18n.zcml.registerTranslations should register domains for that interface as well as ITranslationDomain, I'd prefer to create an interface extending ITranslationDomain and ILanguageAvailability, making

[Zope3-dev] Re: language availablity

2006-07-06 Thread Chris Withers
Philipp von Weitershausen wrote: Chris Withers wrote: TranslationDomain should still implement ILanguageAvailability and zope.i18n.zcml.registerTranslations should register domains for that interface as well as ITranslationDomain, I'd prefer to create an interface extending ITranslationDomain