[interchange-i18n] How do I activate a different locale for the date-filter
Rene Hertell
interchange-users at hertell.com
Wed Jan 22 15:16:00 UTC 2003
> Hi,
>
> I can't figure out how to switch the locale for the date-widget
> in a custom
> table-editor. I tried to set a different locale with [set
> mv_locale]fi_FI[/set] and with [value name=currlocale set="fi_FI" hide=1],
> but none seemed to work...
>
> Is there any other trick I could try?
This if for the archives:
The answer is [setlocale fi_FI] to switch the language temporary to an
other. By just defining [setlocale] after the desired locale-change will
restore the original locale.
Here is a small example:
Original locale
[setlocale fi_FI]
this part of the page is
uses the locale fi_FI
[setlocale]
Here we return to the original locale
Regards, Rene
More information about the interchange-i18n
mailing list