Catalyst-Plugin-I18N-Request
view release on metacpan or search on metacpan
That is, $c->localize('PATH_delocalize_recherche') must return 'search'.
A very similar behaviour applies to parameter names within the query
string. The keys for these delocalizations begin with
'PARAMETER_delocalize_' instead of 'PATH_delocalize_'.
LOCALIZATION
Localization involves taking paths and parameter names and replacing
them with values which make more sense to users speaking the requested
language. In the above example, 'search' may not look intuitive to
German users. Out of the box, this plugin allows you to localize these
values transparently via the standard $c->uri_for and
$c->request->uri_with methods which are already standard features of the
Catalyst framework.
Like delocalization, this functionality depends upon the $c->localize
method. However, PATH_delocalize_ is replaced with PATH_localize and
PARAMETER_delocalize_ is replaced with PARAMETER_localize_.
Key | Localized text | Language
==========================================================
PATH_localize_search | recherche | French
lib/Catalyst/Plugin/I18N/Request.pm view on Meta::CPAN
A very similar behaviour applies to parameter names within the query
string. The keys for these delocalizations begin with
'PARAMETER_delocalize_' instead of 'PATH_delocalize_'.
=head1 LOCALIZATION
Localization involves taking paths and parameter names and replacing
them with values which make more sense to users speaking the requested
language. In the above example, 'search' may not look intuitive to
German users. Out of the box, this plugin allows you to localize these
values transparently via the standard $c->uri_for and
$c->request->uri_with methods which are already standard features of
the Catalyst framework.
Like delocalization, this functionality depends upon the $c->localize
method. However, PATH_delocalize_ is replaced with PATH_localize and
PARAMETER_delocalize_ is replaced with PARAMETER_localize_.
Key | Localized text | Language
==========================================================
PATH_localize_search | recherche | French
( run in 0.370 second using v1.01-cache-2.11-cpan-0a6323c29d9 )