For more information... RTFM!
NAVIGATION
RECENTLY VIEWED
ACCOUNT LOGIN

You are not logged in

Powered by Interchange version 5.7.0

loc

This filter translates its body text into another language, using the current Locale settings.  This is much the same as the [L] and [loc] tags, except that it allows you to localise values in a filter chain.

Availability

Availability

This filter was introduced in version 5.4.0, and is therefore not available for use with any earlier Interchange version.

Example

(Assuming the current locale is "fr_FR" and appropriate translations are set up and operational.)

[filter loc]January[/filter]

Results in:

Janvier

Source code

sub {
    my $val = shift;
    return errmsg($val);
}

Category:  Filters
Last modified by: Kevin Walsh
Modification date: Friday 23 February 2007 at 11:44 PM (EST)
Home  |  Legal nonsense  |  Privacy policy  |  Contact us