It is for use with internationalization (i18n). Documentation is sparse,
but you can find an example here:

http://mikeshilkov.wordpress.com/2012/07/26/enable-jinja2-and-i18n-translations-on-google-appengine/

 - Daniel


On Thu, Dec 6, 2012 at 8:07 AM, Ken <[email protected]> wrote:

> What does {{ _('some text') }} do?  I can't find any mention of this in
> the Jinja docs.  What gets displayed is 'some text' but what is the purpose
> of the leading underscore and the enclosing parentheses?
>
> I apologize if this is an inappropriate question but I'm not sure where to
> ask this question.
>
> Thanks
>
>  --
> You received this message because you are subscribed to the Google Groups
> "sphinx-users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> Visit this group at http://groups.google.com/group/sphinx-users?hl=en.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/sphinx-users?hl=en.


Reply via email to