in reply to Multilingual Mason
One way I see is to extend Mason syntax using the preprocess option of HTML::Mason::Compiler. Mason authors suggest instead to extend the compiler; there is an example of such method in chapter 6 of Embedding Perl in HTML with Mason.
On the other hand, I don't understand why you don't have separate pages for every language you need to display. Isn't it better to use Mason components and override portions of your pages locally? Or you can extend HTML::Mason::Resolver and make it search components in different paths for every language (refer to the aforementioned chapter 6 of the Mason book).
HTH, Valerio
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Multilingual Mason
by crenz (Priest) on May 03, 2003 at 12:23 UTC | |
by valdez (Monsignor) on May 03, 2003 at 12:55 UTC | |
by crenz (Priest) on May 03, 2003 at 15:03 UTC | |
by aquarium (Curate) on May 04, 2003 at 11:02 UTC |