Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save markevich/b5b0709926b537e58c20a96c71f53a21 to your computer and use it in GitHub Desktop.

Select an option

Save markevich/b5b0709926b537e58c20a96c71f53a21 to your computer and use it in GitHub Desktop.
Enable Russian locale on Steam Deck
#!/bin/bash
# This script is enabling (uncommenting) the Russian 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%#ru_RU.UTF-8 UTF-8%ru_RU.UTF-8 UTF-8%" /etc/locale.gen
sudo locale-gen
sudo steamos-readonly enable
echo "Done! Be sure to put `LANG=ru_RU.UTF-8 %command%` in the game's startup options on Steam to enable the locale."
@huangsijun17
Copy link
Copy Markdown

Japanese or Russian? I hope the language can be clarified.

@markevich
Copy link
Copy Markdown
Author

@huangsijun17 russian =) But you can change it to whatever locale you need

@huangsijun17
Copy link
Copy Markdown

@huangsijun17 russian =) But you can change it to whatever locale you need

I have links to translation scripts for some languages in git repository. However, scripts with wrong file names cannot be included.

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