TOM::L10n
DESCRIPTION
Localization management
new
my $L10n=TOM::L10n::new( 'level' => "auto", # auto/local/master/global, default is 'auto' #'addon' => "a400", #'name' => "email-stats", # default is 'default' #'lng' => "en-US" # default is 'en-US' )
Print string
print $L10n->{'string'}{$string};
Map directly to hash
my %L10n=%{new TOM::L10n('lng' => "sk-SK")->{'string'}};
print $L10n{$string};
L10n source can be as
everything.L10n # this is xml file
METHODS
FUNCTIONS
If published informations are not helpfull, something is missing or wrong, please report. Thanx for contribution.
This content is generated from file 'http://svn.cyclone3.org/trunk/frame/.core/.libs/TOM/L10n.pm'
User Comments