-
Notifications
You must be signed in to change notification settings - Fork 709
Localization for javascript code
MichaIng edited this page Dec 16, 2025
·
2 revisions
To localize a text in a js file (like static/js/main.js) :
- pass your text as an argument to function
i18n.gettext()(for examples, see instatic/js/main.js), actually your text must be in Esperanto. Use DeepL to translate from English to Esperanto if you don't know Esperanto. - run
makein motioneye directory - edit the
.js.pofiles for languages you are able to translate, they are namedlocale/*/LC_MESSAGES/motioneye.js.po. You can edit them with a text editor, or with dedicated software like Poedit or Virtaal. - rerun
maketo take your translation changes into account
home | installation | faq