From: Andrew H. <hur...@ll...> - 2003-10-30 18:35:58
|
>Andrew Hurst wrote: >... > >So the 'Optiron' in my example -- which is my day job :-) -- would >get interpolated into %1 when the message is placed. Ah, makes sense now. >.... > >>I think it would be handy, if you could work some of that SPOPS >>magic and have SPOPS know how to handle added language fields. So >>you could add a 'lang' key to the hash we'd pass to SPOPS, and it >>would know to restrict results to that language, but only if we >>configured it that way. This would require the aforementioned >>field in each table, I would think. >> >>This would be beneficial in that it would act like the SPOPS >>security actions, where the other rows don't exist if you don't >>have access to them. > >Hmmm... very interesting. I could see adding this as a behavior as >well ('localizable' or something like that), which overrides 'fetch' >to use the given language as another criteria. The only possible problem I see, is that this could be solving a non-existant problem. It would be neat to be able to restrict documents to users based on language, but how often would that be needed? Even on multi-language discussion boards, I don't see a reason for not letting people know about the other boards... -Andrew > >Later, > >Chris > >-- >Chris Winters (ch...@cw...) >Building enterprise-capable snack solutions since 1988. |