Problem with language select #2292

Open
opened 2026-02-28 01:09:09 -05:00 by deekerman · 1 comment
Owner

Originally created by @NicoWeij on GitHub (Sep 23, 2022).

After changing the language in the browser and saving it, the screen is refreshed and only the preferences are visible.
Where can I change the language back to English via SSH.

afbeelding

Originally created by @NicoWeij on GitHub (Sep 23, 2022). After changing the language in the browser and saving it, the screen is refreshed and only the preferences are visible. Where can I change the language back to English via SSH. ![afbeelding](https://user-images.githubusercontent.com/114168542/191972814-014efee2-f4cd-45d9-a147-a5f44093c9f0.png)
Author
Owner

@MichaIng commented on GitHub (Nov 22, 2022):

Thanks for reporting. The language can be changed in /etc/motioneye/motion.conf, then:

systemctl restart motioneye

I did some testing. There is a problem that only the backend translation is available, while the frontend translation file is completely missing: github.com/motioneye-project/motioneye@c9cb338
When selecting it, one lands on login screen but cannot login. Server log then says:

 WARNING: 404 GET /static/js/motioneye.nl.json

AFAIK, a template does the job already, even with all translations missing, in which case Esperanto will be used.

Not sure why I face the login screen while you don't, probably another thing in code changed in the meantime. I'll try to generate a frontend translation template Dutch.

@jmichault
Probably in such case we want to pull the default or Esperanto language file automatically? Or, not sure if weblate can be configured to always push files for frontend and backend when a new language is added, even if no translations are done in respective part.

@MichaIng commented on GitHub (Nov 22, 2022): Thanks for reporting. The language can be changed in `/etc/motioneye/motion.conf`, then: ```sh systemctl restart motioneye ``` I did some testing. There is a problem that only the backend translation is available, while the frontend translation file is completely missing: https://github.com/motioneye-project/motioneye/commit/c9cb338 When selecting it, one lands on login screen but cannot login. Server log then says: ``` WARNING: 404 GET /static/js/motioneye.nl.json ``` AFAIK, a template does the job already, even with all translations missing, in which case Esperanto will be used. Not sure why I face the login screen while you don't, probably another thing in code changed in the meantime. I'll try to generate a frontend translation template Dutch. @jmichault Probably in such case we want to pull the default or Esperanto language file automatically? Or, not sure if weblate can be configured to always push files for frontend and backend when a new language is added, even if no translations are done in respective part.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/motioneye#2292
No description provided.