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

Unable to change "System locale" #471

Closed
iG8R opened this issue Nov 29, 2022 · 5 comments
Closed

Unable to change "System locale" #471

iG8R opened this issue Nov 29, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@iG8R
Copy link

iG8R commented Nov 29, 2022

Hi.
Windows 10 (21H1, 19043.1415)
Tartube v2.4.165

Can't change the system locale, it's stuck in Russian but I need English.

Screenshot

Tartube-System-locale-2022-11-29_040024

@iG8R iG8R added the bug Something isn't working label Nov 29, 2022
@axcore
Copy link
Owner

axcore commented Nov 29, 2022

The code that handles locales was updated recently. At the moment, Tartube uses your system locale. You can't change the locale in Edit > System preferences...

If you need English, then your choices are:

  1. Change the system locale on your computer
  2. Patch the Tartube code: find the ../tartube/mainapp.py file, find line 3330, and remove it (or comment it out by adding a # at the beginning of the line):

# self.apply_locale()

  1. Wait for the next release, I have not finished improving the code yet.

@iG8R
Copy link
Author

iG8R commented Nov 29, 2022

@axcore
Many thanks)
N.2 worked well.

@iG8R iG8R closed this as completed Nov 29, 2022
axcore pushed a commit that referenced this issue Dec 4, 2022
@axcore
Copy link
Owner

axcore commented Dec 4, 2022

In v2.4.174, you can set any locale from Edit > System preferences...

This version is only available on Github/Pypi. If you want to update your MS Windows installation, see here.

@iG8R
Copy link
Author

iG8R commented Dec 4, 2022

Thank you. It works:)

Some clarifications:

  1. It's 2.4.173 version
  2. Copying the downloaded source code into Tartube script folder, replacing old files with new ones, didn't work as it turned out settings.json from 2.4.165 version doesn't compatible with 2.4.173.
    It's necessary to fix correct version number and insert the missing strings to make Tartube to start otherwise bash.exe and conhost.exe processes are launching but Tartube doesn't start:
    • correct "script_version": "2.4.165", to "script_version": "2.4.173", in line #3
    • insert "override_locale": "en_GB", in line #7
    • insert "match_nickname_flag": true, in line #316

axcore pushed a commit that referenced this issue Dec 5, 2022
@axcore
Copy link
Owner

axcore commented Dec 5, 2022

Whoops! Just a bit of temporary code I forgot to remove, it's removed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants