Skip to content

Instantly share code, notes, and snippets.

@strzlee
Forked from XargonWan/japanese_locale_enabler.sh
Last active February 7, 2023 14:43
Show Gist options
  • Save strzlee/8837ddf22aeb05533e7ad00dc4b7b54c to your computer and use it in GitHub Desktop.
Save strzlee/8837ddf22aeb05533e7ad00dc4b7b54c to your computer and use it in GitHub Desktop.
Enable German locale on Steam Deck
#!/bin/bash
# This script is enabling (uncommenting) the German locale and regenerates them
sudo steamos-readonly disable
sudo pacman-key --init
sudo pacman-key --populate archlinux
sudo pacman -S glibc
sudo sed -i "s%#de_DE.UTF-8 UTF-8%de_DE.UTF-8 UTF-8%" /etc/locale.gen
sudo locale-gen
sudo steamos-readonly enable
echo "Done! Be sure to put `LANG=de_DE.UTF-8 %command%` in the game's startup options on Steam to enable the locale."
@huangsijun17
Copy link

German? japanese? I hope the title can be changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment