I was wondering, how does template loading work with locale aware requests?

For example, I may have template files like:

- registration_en_txt.ftl
- registration_fr_txt.ftl

Ideally, I'd like to specify my locale when fetching the template to
separate out the locating and language awareness.  I don't see any
information that could be passed around with this information.  If I look
at
https://github.com/apache/incubator-freemarker/blob/2.3-gae/src/main/java/freemarker/cache/TemplateLoader.java
I
don't see the locale passed in when trying to get a template.

John

Reply via email to