i18n in Mustache templates ========================== In order to not pollute your presenters, you should use gettext directly in the ``.mustache`` files: .. code-block:: html
{{# gettext }}It's likely that %s will see %s.| {{ username }} | {{ label }} {{/ gettext }}
{{# ngettext }} There is %s apple | There are %s apples | {{ count }} {{/ ngettext }}
{{# ngettext }} The user with id %s has been removed from %s | The users with id [%s] have been removed from %s | {{ count }} | {{ comma_separated_ids }} | {{ project_name }} {{/ ngettext }}