-
Notifications
You must be signed in to change notification settings - Fork 707
Localization for html templates
MichaIng edited this page Dec 16, 2025
·
2 revisions
motioneye use jinja templates to generate html pages.
- pass your text as an argument to
_()function in a jinja block, actually your text must be in Esperanto. Use DeepL to translate from English to Esperanto if you don't know Esperanto.- example :
<span class="settings-item-label">{{ _("Pasvorto") }}</span> - you can see more examples in
templates/main.html
- example :
- run
makein motioneye directory - edit the
.pofiles for languages you are able to translate, they are namedlocale/*/LC_MESSAGES/motioneye.po. You can edit them with a text editor, or better with dedicated software like Poedit or Virtaal. - rerun
maketo take your translation changes into account
home | installation | faq