generated from ReVanced/revanced-patches-template
-
-
Notifications
You must be signed in to change notification settings - Fork 315
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
feat(YouTube): Add in app option to select a preferred language for ReVanced specific text #4231
Merged
LisoUseInAIKyrios
merged 5 commits into
ReVanced:dev
from
LisoUseInAIKyrios:feat/settings_in_app_language_choice
Dec 28, 2024
Merged
feat(YouTube): Add in app option to select a preferred language for ReVanced specific text #4231
LisoUseInAIKyrios
merged 5 commits into
ReVanced:dev
from
LisoUseInAIKyrios:feat/settings_in_app_language_choice
Dec 28, 2024
+235
−141
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
After eventually finding the right method to override, this was way easier to implement than I expected (Android Preferences are trash). |
...nsions/shared/library/src/main/java/app/revanced/extension/shared/settings/BaseSettings.java
Outdated
Show resolved
Hide resolved
LisoUseInAIKyrios
force-pushed
the
feat/settings_in_app_language_choice
branch
from
December 27, 2024 15:32
6578fa1
to
9f3b50b
Compare
LisoUseInAIKyrios
force-pushed
the
feat/settings_in_app_language_choice
branch
from
December 27, 2024 21:14
c898ab5
to
fbf07cf
Compare
oSumAtrIX
reviewed
Dec 28, 2024
patches/src/main/kotlin/app/revanced/patches/youtube/misc/settings/SettingsPatch.kt
Show resolved
Hide resolved
oSumAtrIX
approved these changes
Dec 28, 2024
github-actions bot
pushed a commit
that referenced
this pull request
Dec 28, 2024
# [5.8.0-dev.8](v5.8.0-dev.7...v5.8.0-dev.8) (2024-12-28) ### Features * **YouTube:** Add in app option to select a preferred language for ReVanced specific text ([#4231](#4231)) ([3932af3](3932af3))
github-actions bot
pushed a commit
that referenced
this pull request
Dec 30, 2024
# [5.8.0](v5.7.2...v5.8.0) (2024-12-30) ### Bug Fixes * **GmsCore support:** Do not show battery optimization error on Android Automotive devices (Google built-in) ([#4218](#4218)) ([d6e389c](d6e389c)) * **YouTube - Exit fullscreen mode:** Exit fullscreen mode of first video opened after cold start ([be5cf2e](be5cf2e)) * **YouTube - Force original audio:** If stream spoofing to Android then show a summary text why force audio is not available ([#4220](#4220)) ([029aee8](029aee8)) * **YouTube - Spoof video streams:** Ignore harmless error toast if hide ads is disabled ([c3423bb](c3423bb)) ### Features * **Swipe controls:** Add option to enable/disable fullscreen swipe to next video ([#4222](#4222)) ([119092f](119092f)) * **YouTube - Hide Shorts components:** Add option to hide Shorts in watch history ([#4214](#4214)) ([19c2742](19c2742)) * **YouTube - Spoof app version:** Add 'Restore old navigation and toolbar icons' ([f84e459](f84e459)) * **YouTube:** Add `Change form factor` patch ([#4217](#4217)) ([644ac5b](644ac5b)) * **YouTube:** Add `Exit fullscreen mode` patch ([#4223](#4223)) ([bb5d03b](bb5d03b)) * **YouTube:** Add in app option to select a preferred language for ReVanced specific text ([#4231](#4231)) ([3932af3](3932af3))
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds an in app setting to pick a language for all ReVanced specific strings, while still using the original app language.
So YouTube can now use a foreign language but still show English ReVanced strings.