Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geolocation data not in set language #419

Open
sapnho opened this issue Nov 30, 2024 · 3 comments
Open

Geolocation data not in set language #419

sapnho opened this issue Nov 30, 2024 · 3 comments

Comments

@sapnho
Copy link

sapnho commented Nov 30, 2024

Last weekend, I completely reinstalled my PictureFrame to have all the Wayland/labwc stuff not just on my testing system but also on production.

Everything went rather smoothly but I can't figure out how I can get PicFrame to show the geolocation data in German. Which it did on my old system.

I have set
locale: "de_DE.utf8" # "locale -a" shows the installed locales which could used

and have the locales installed on the Raspberry Pi:

pi@picframe:~ $ locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
C
C.utf8
de_DE.utf8
en_GB.utf8
en_US.utf8
POSIX

I also deleted the pictureframe.db3 database and rebooted, thinking that there might be old language information in there.

Any thoughts?

@sapnho
Copy link
Author

sapnho commented Nov 30, 2024

Is it possible to have a different default locale than the one chosen in Bookworm (if it is installed)?

@sapnho
Copy link
Author

sapnho commented Nov 30, 2024

Ah, I can answer that question myself. The language set in configuration.yaml must be the default locale of Bookworm.

And you must update sudo nano /etc/default/locale
accordingly manually because raspi-config doesn't do it.

LANG="de_DE.UTF-8"
LC_CTYPE="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"

followed by

export LANG="de_DE.UTF-8"
export LC_CTYPE="de_DE.UTF-8"
export LC_ALL="de_DE.UTF-8"

@sapnho
Copy link
Author

sapnho commented Nov 30, 2024

@sapnho sapnho changed the title Geolocation data no in set language Geolocation data not in set language Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant