Skip to content

Commit

Permalink
Clarified "localized templates" feature (only Freemarker) in the docu…
Browse files Browse the repository at this point in the history
…mentation

refs dropwizard#658, [ci skip]
  • Loading branch information
joschi committed Jul 14, 2014
1 parent f0d7a6f commit 2655ac7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/manual/views.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ If your template ends with ``.ftl``, it'll be interpreted as a FreeMarker_ templ

.. tip::

Dropwizard Views also support localized template files. It picks up the client's locale from
their ``Accept-Language``, so you can add a French template in ``person_fr.ftl`` or a Canadian
Dropwizard Freemarker_ Views also support localized template files. It picks up the client's locale
from their ``Accept-Language``, so you can add a French template in ``person_fr.ftl`` or a Canadian
template in ``person_en_CA.ftl``.

Your template file might look something like this:
Expand Down

0 comments on commit 2655ac7

Please sign in to comment.