i18n and filters

16 views
Skip to first unread message

Alex Marandon

unread,
Jan 16, 2011, 5:08:28 AM1/16/11
to ErlyDTL Users
Hi,

It seems that erlydtl translation parser can't take templates that
contains filters. For example, if try to use capfirst in one of the
strings of the unit tests I get this:

{"init terminating in do_boot",{function_clause,
[{sources_parser,process_ast,["dummy_path",capfirst,[{"Hello",
{"dummy_path",1,33}}]]},{sources_parser,process_ast,3},
{sources_parser,process_ast,2},{sources_parser,process_content,2},
{sources_parser_unittests,process_unit_test,5},{lists,foldl,3},
{sources_parser_unittests,run_tests,0},{init,start_it,1}]}}

Did anyone else noticed this problem?

Cheers,
Alex
Reply all
Reply to author
Forward
0 new messages