Pankaj Garg
2011-03-26 18:12:32 UTC
The template provides facility of iterating through lists using {.repeated
section foo}
But no such option is there for iterating through a dictionary, as is
present in python
for key, value in foo.iteritems()
It will be very helpful, if such an option is present in the template, and
would make transition from other templates to "json-template" a lot more
easier.
And for internationalization, I saw in the previous group posts that it can
be done through formatters e.g. {foo| Trans}. But usually there are strings
(not variables) which are required to be translated. Is there any way of
making that possible?
section foo}
But no such option is there for iterating through a dictionary, as is
present in python
for key, value in foo.iteritems()
It will be very helpful, if such an option is present in the template, and
would make transition from other templates to "json-template" a lot more
easier.
And for internationalization, I saw in the previous group posts that it can
be done through formatters e.g. {foo| Trans}. But usually there are strings
(not variables) which are required to be translated. Is there any way of
making that possible?
--
You received this message because you are subscribed to the Google Groups "JSON Template" group.
To post to this group, send email to json-template-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to json-template+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/json-template?hl=en.
You received this message because you are subscribed to the Google Groups "JSON Template" group.
To post to this group, send email to json-template-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to json-template+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/json-template?hl=en.