Re: [Zope] The date in Dutch

2000-08-19 Thread Steve Alexander
Michel Houben wrote: > > >I am just beginning with Zope, so this is maybe a very stupid question; > >How do I make a external method, I don't know what I must fill in, in two > >fields "Python module file" and "Function Name", I hope you can solve this > >problem for me. > > I thank you for your

[Zope] The date in Dutch - really last time!

2000-08-18 Thread Steve Alexander
Ok... this is *really* the last time. I don't know why I was using a regular expression, when string.replace would have done just as well. Here's my final version of the external method. I *promise* I won't change it again. Of course, the simplest version would be from string import replace def

[Zope] The date in Dutch - last time!

2000-08-18 Thread Steve Alexander
Ok... this is the last time. You can put a line: del replacements just after the for loop, and save a tiny amount of memory. This might be a useful optimisation if you're dealing with a very large list of words to replace. -- Steve Alexander Software Engineer Cat-Box limited http://www.cat-bo

[Zope] The date in Dutch

2000-08-18 Thread Steve Alexander
Sent again -- here's a slightly more compact version, that avoids declaring a separate class to hold the expressions in. Michel Houben wrote: > How can I fix the date in Dutch, for example Donderdag 17 Augustus 2000 > instead of Thursday 17 August 2000. I hope someone can solve this problem. I

[Zope] The date in Dutch

2000-08-18 Thread Steve Alexander
Michel Houben wrote: > How can I fix the date in Dutch, for example Donderdag 17 Augustus 2000 > instead of Thursday 17 August 2000. I hope someone can solve this problem. I don't know any Dutch. However, here's an external method that will convert the months and days of the week in a string f

Re: [Zope] The date in Dutch

2000-08-18 Thread Diny van Gool
At 19:45 17-8-00 +0200, Michel Houben wrote: >How can I fix the date in Dutch, for example Donderdag 17 Augustus 2000 >instead of Thursday 17 August 2000. I hope someone can solve this problem. > >Michel Houben. Hi, You can do this by using a python external method: Example: In your dtml-meth

[Zope] The date in Dutch

2000-08-17 Thread Michel Houben
How can I fix the date in Dutch, for example Donderdag 17 Augustus 2000 instead of Thursday 17 August 2000. I hope someone can solve this problem. Michel Houben. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope **