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
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.