Octavian Rasnita wrote:
Hi,
I've seen that WxPerl uses gettext as the base for Wx::Locale, just like
Catalyst framework uses gettext in Catalyst::Plugin::I18N.
To be more precise, wxWidgets uses the po/mo format but the
implementation is not gettext (because gettext is L?GPL, which
is mro
"Octavian Rasnita" <[EMAIL PROTECTED]> writes:
> Unfortunately it doesn't work that way neither.
>
> It gives the error:
>
> Usage: Wx::GetTranslation(string)
Strange.
However, if 't' (I use '_T') works, __x is a no-brainer:
# Variable expansion. See GNU gettext for details.
sub __expand(
From: "Johan Vromans" <[EMAIL PROTECTED]>
"Octavian Rasnita" <[EMAIL PROTECTED]> writes:
Hi,
I've seen that WxPerl uses gettext as the base for Wx::Locale, just
like Catalyst framework uses gettext in Catalyst::Plugin::I18N.
In Catalyst I can do:
t("The name of the city is [_1]", $city);
or
"Octavian Rasnita" <[EMAIL PROTECTED]> writes:
> Hi,
>
> I've seen that WxPerl uses gettext as the base for Wx::Locale, just
> like Catalyst framework uses gettext in Catalyst::Plugin::I18N.
>
> In Catalyst I can do:
>
> t("The name of the city is [_1]", $city);
> or
> t("The cities are [_1], [