| Locale-Framework documentation | Contained in the Locale-Framework distribution. |
Locale::Framework::Dumb - A backend for Locale::Framework internationalization
use Locale::Framework;
print _T("This is a test");
Locale::Framework::language("nl");
print _T("This is a test");
This module provides a Dumb backend for the Locale::Framework internationalization module.
new() --> Locale::Framework::DumbInstantiates a new Locale::Framework::Dumb backend.
translate(language,text) --> stringReturns 'text'.
clear_cache() --> voidDoes nothing.
Hans Oesterholt-Dijkema <oesterhol@cpan.org>
This library is free software; you can redistribute it and/or modify it under LGPL terms.
| Locale-Framework documentation | Contained in the Locale-Framework distribution. |
package Locale::Framework::Dumb; use strict; sub new { my $class=shift; my $self; $self->{"dumb"}=1; bless $self,$class; return $self; } sub translate { my ($self,$lang,$text)=@_; return $text; } sub clear_cache { } sub set_translation { return 0; } 1;