Is there any way of changing the language in which the GUI of the nymea:app is shown?
I am running this in Ubuntu LInux, and the only way to change the GUI from my native language seems to be by changing the language of my complete computer session. I wouldn’t like to do that as it might have side effects on my installation, such as the naming of system folders.
Still, from time to time it would be useful to have the nymea:app in English, for example for discussing the behaviour of the app here in the forum.
I’m sorry if I seem somewhat dense. Typing nymea-app in the terminal window on my Ubuntu desktop computer yields a bunch of error messages (possibly relating to missing windows geometry parameters) and then opens the app. Typing LANG=en_US nymea-app does exactly the same with no visible difference in the GUI. Everything is still in my own language, i.e. German.
I’m quite out of my depth here. I don’t really know what I’m doing. However, snap list shows no trace of nymea while the package tool synaptics shows nymea-app as an installed package. The above messages appeared in the terminal window when starting nymea-app.
Well it’s fine to use the snap package it’s the same code, regardless if you run it from snap or not. The difference is just that without the snap you can set the LANG environment variable, but with the snap package that’s not so straight forward, but the line I’ve posted above should work for the snap.
Thank you for your patience, Michael. There seems to be an issue in both of my Ubuntu Linux computers and I’m not going to proceed any further in this topic. I can live with the UI being shown only in my own language.
However, I have found a few strange things which I am adding here just for your information, and I don’t expect you or anyone to actually respond here to that information:
The command LANG=en_US nymea-app
provokes (among others) this error message in the terminal:
Gtk-WARNING **: 13:35:31.582: Locale not supported by C library.
Using the fallback 'C' locale.
while the command LANG=en_US.UTF-8 nymea-app
does not. Neither does it switch the UI language to English.
In both cases, nymea-app produces a mixed bunch of error message concerning circular references and missing objects. One of the commands also produces several error messages of the form
QQmlComponent: Created graphical object was not placed in the graphics scene.
So, those messages about circular dependencies printed by the app aren’t nice, but they’re not an actual problem.
As for the language… I am reasonably confident that it should work fine, except for the snap part which I haven’t tried. This is what I’m using during development to test translations. I’m not sure what goes wrong in your setup.