Refactor the codebase to use Locale's language tag functionality#1374
Refactor the codebase to use Locale's language tag functionality#1374Isira-Seneviratne wants to merge 4 commits intoTeamNewPipe:devfrom
Conversation
|
The other day I noticed that SkyTube uses NewPipeExtractor and they have a few commits on top of our |
# Conflicts: # extractor/src/main/java/org/schabi/newpipe/extractor/localization/TimeAgoPatternsManager.java # extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamExtractor.java # extractor/src/test/java/org/schabi/newpipe/extractor/localization/TimeAgoParserTest.java
Refactor the codebase to use the
Localeclass's language tag methods, including removing theLocalizationclass that was previously present.Note: The language tag methods require an Android minSdk of 21 (Lollipop). Since most mobile apps now have a
minSdkof 21, this change should not have much impact.