Skip to content

Revert Android 13+ per-app language preferences#12478

Closed
Stypox wants to merge 1 commit intoTeamNewPipe:release-0.28.0from
Stypox:revert-per-app-language
Closed

Revert Android 13+ per-app language preferences#12478
Stypox wants to merge 1 commit intoTeamNewPipe:release-0.28.0from
Stypox:revert-per-app-language

Conversation

@Stypox
Copy link
Member

@Stypox Stypox commented Jul 29, 2025

What is it?

  • Bugfix (user facing)
  • Feature (user facing)
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

See here for why this is needed. At least we can keep the code that changes the language on the fly though, without requiring an app restart. @Isira-Seneviratne could you confirm that this removes support for per-app languages correctly?

I tested on API 30, 31, 34, 36 and the language switch worked on all of them. Latin also works.

Fixes the following issue(s)

APK testing

The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR. You can find more info and a video demonstration on this wiki page.

Due diligence

@github-actions github-actions bot added the size/small PRs with less than 50 changed lines label Jul 29, 2025
@Stypox Stypox added bug Issue is related to a bug localisation / translation Everything that has to do with translations or Weblate and removed size/small PRs with less than 50 changed lines labels Jul 29, 2025
@Stypox Stypox requested a review from Isira-Seneviratne July 29, 2025 19:06
Copy link
Member

@litetex litetex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just commented: #12093 (comment)

Copy link
Member

@Isira-Seneviratne Isira-Seneviratne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like it's possible to manually add supported languages to the native Android language picker: https://developer.android.com/guide/topics/resources/app-languages#use-localeconfig

Update: Never mind, that method was tried by @Stypox and was unsuccessful.

@Stypox
Copy link
Member Author

Stypox commented Jul 30, 2025

Closing, see #12093 (comment)

@Stypox Stypox closed this Jul 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Issue is related to a bug localisation / translation Everything that has to do with translations or Weblate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants