Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

/var/sites/help-site.com/auto/tmp/CPAN/9677/Locale-Framework-GettextXML-0.01/lib/Locale/Framework/GettextXML.pm

/var/sites/help-site.com/auto/tmp/CPAN/9677/Locale-Framework-GettextXML-0.01/lib/Locale/Framework/GettextXML.pm


NAME

Locale::Framework::GettextXML, a GettextXML backend for Locale::Framework


SYNOPSIS


  use Locale::Framework;

  use Locale::Framework::GettextXML;

  

  my $wxloc=new Locale::Framework::GettextXML('locale', 'myprog');

  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 GettextXML backend for the Locale::Framework internationalization module.


DESCRIPTION

new(locale_prefix, catalog[, debug]) --> Locale::Framework::GettextXML

Instantiates a new backend object. Optionally can ``mark'' untranslated strings and print debugging text.

translate(language,text) --> string

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

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

This function returns false for this backend, because GettextXML does not support dynamic updating yet.

clear_cache() --> void

This function is a noop for this backend.


SEE ALSO

Locale::Framework


AUTHOR

Jeff Buchbinder <freemed@gmail.com>


COPYRIGHT AND LICENSE

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

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy