ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.26k stars 174 forks source link

Default Language does not match system locale #4882

Open Neizan93 opened 7 years ago

Neizan93 commented 7 years ago

Your system information

Please describe your issue in as much detail as possible:

Describe what you expected should happen and what did happen. Please link any large code pastes as a Github Gist

Steps for reproducing this issue:

Neizan93 commented 7 years ago

I write the issue with mobile, some bug sent this without nothing :(

Steam dont detect my OS language when I install it on Ubuntu x64

fabiscafe commented 7 years ago

same here

Steam installed

Systemlanguage

de_DE.UTF-8

Steam: set to english by default Games: set to english by default

Beta?: the same

Change Steam language to german Games still are set to english and i have to set them to german by myself.

Ashark commented 7 years ago

On Windows when you start steam first time, you are asked to choose language. On Linux you are not asked. I think steam client should do it in Linux just like in Windows.

scootergrisen commented 6 years ago

Tested on Ubuntu 18.04-beta2 with Steam client buiilt 2. april 2018 and it also defaults to english. Have to go into Settings - Interface to change the language. I would prefer the software to use the system default just like other software. I dont think it nessesary to ask the user which language to use on startup it seems to work fine using the same language as the system is set to use and then fallback to english if no translation exists for that language. Imagine if all software would ask you what language to use on first start, that would be annoying.

Also this affects the language of the e-mails being sent out so if you login you get a e-mail in english with the code.

scootergrisen commented 6 years ago

The Linux installer (steam_latest.deb) does not contain the steambootstrapper translation files like the Windows and Mac installer does.

So add these to the Linux installer:

~/.steam/public/steambootstrapper_[LANGUAGE].txt

And then ~/.steam/registr1y.vdf should contain the following and [LANGUAGE] should be the system language as default before steam starts:

{
    "HKCU"
    {
        "Software"
        {
            "Valve"
            {
                "Steam"
                {
                    "language"      "[LANGUAGE]"
                }
            }
        }
    }
}

This way Steam will start with correct language.

I also wrote it in https://steamcommunity.com/app/221410/discussions/0/1696044439572130009/