[Catalyst] I18N and TT question

Websuche :: Felix Antonius Wilhelm Ostmann ostmann at websuche.de
Mon Jul 25 09:49:52 GMT 2011


We are using Filters ...

[% |loc(name) -%]
Cool text, [_1]!
[%- END %]

And define the Filters in the View

__PACKAGE__->config(
	...
	FILTERS => { loc => [ sub { }, 1 ] }, # dynamic filter
	...
);

Am 25.07.2011 11:05, schrieb Alex Povolotsky:
> Hello!
> 
> How do I define a macro for localization GLOBALLY? I don't like to add
> MACRO to every template, nor I don't want to write c.localize() instead
> of l()
> 
> Alex
> 
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
> 


-- 
Mit freundlichen Grüßen

Felix Antonius Wilhelm Ostmann
-----------------------------------------------------------
Websuche Search Technology GmbH & Co. KG
Martinistraße 3, D-49080 Osnabrück
-----------------------------------------------------------
Tel.: +49 (0) 541 40666 0, Fax: +49 (0) 541 40666 22
Email: info at websuche.de, Web: www.websuche.de
-----------------------------------------------------------
HRA 200252, AG Osnabrück, Ust-IdNr.: DE814737310
-----------------------------------------------------------
Komplementärin: Websuche Search Technology Verwaltungs GmbH
HRB 200359, AG Osnabrück, Geschäftsführer: Ansas Meyer
-----------------------------------------------------------

Die in dieser Email enthaltenen Informationen sind vertrau-
lich zu behandeln und ausschließlich für den Adressaten be-
stimmt. Jegliche Veröffentlichung, Verteilung oder sonstige
in diesem Zusammenhang stehende Handlung  wird ausdrücklich
untersagt.



More information about the Catalyst mailing list