The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Locale::Framework::wxLocale, a WxPerl backend for Locale::Framework

SYNOPSIS

  use Locale::Framework;
  use Locale::Framework::wxLocale;
  
  my $wxloc=new Locale::Framework::wxLocale();
  Locale::Framework::language("en");

  print _T("This is a test");

  Locale::Framework::language("nl");
  
  print _T("This is a test");

ABSTRACT

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

DESCRIPTION

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

Instantiates a new backend object.

translate(language,text) --> string

This function looks up a translation for the tuple (language, text) via Wx::Locale.

set_translation(language,text,translation) --> boolean

This function returns false for this backend, because Wx::Locale does not support dynamic updating.

clear_cache() --> void

This function is a noop for this backend.

SEE ALSO

Locale::Framework, http://wxperl.sf.net.

AUTHOR

Hans Oesterholt-Dijkema <oesterhol@cpan.org>

COPYRIGHT AND LICENSE

This library is free software; you can redistribute it and/or modify it under LGPL terms.