Locale::Framework::Dumb - A backend for Locale::Framework internationalization


Locale-Framework documentation Contained in the Locale-Framework distribution.

Index


Code Index:

NAME

Top

Locale::Framework::Dumb - A backend for Locale::Framework internationalization

SYNOPSIS

Top

  use Locale::Framework;

  print _T("This is a test");

  Locale::Framework::language("nl");

  print _T("This is a test");

ABSTRACT

Top

This module provides a Dumb backend for the Locale::Framework internationalization module.

DESCRIPTION

Top

new() --> Locale::Framework::Dumb

Instantiates a new Locale::Framework::Dumb backend.

translate(language,text) --> string

Returns 'text'.

clear_cache() --> void

Does nothing.

SEE ALSO

Top

Locale::Framework.

AUTHOR

Top

Hans Oesterholt-Dijkema <oesterhol@cpan.org>

COPYRIGHT AND LICENSE

Top


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;