Hi,

I have a small problem with the translation function in the template 
component.

Example code:

{use $words=array( 'hello', 'world' }
{tr_context "existing"}

{foreach $words as $word}

     {tr $word}

{/foreach}


This throw an ezcTranslationKeyNotAvailableException exception with 
message: The key '$test' does not exist in the translation map.

Is this the expected behaviour? If not I will open a bug report for it.

I am expecting it to return the translation of each word.

Thanks,

best regards

Sascha

-- 
Components mailing list
Components@lists.ez.no
http://lists.ez.no/mailman/listinfo/components

Reply via email to