feat: 앱별 언어 설정(시스템) 노출#628
Merged
Merged
Conversation
Android 13+ 시스템 '앱별 언어 설정'에 한국어/영어 선택지가 노출되도록 AGP localeConfig 자동 생성을 활성화한다. - androidResources.generateLocaleConfig = true: res/values-* 스캔해 _generated_res_locale_config 를 빌드 시 자동 생성, 매니페스트에 자동 주입 - resources.properties 의 unqualifiedResLocale=ko-KR 로 기본 리소스 언어 명시
This file contains hidden or 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
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.
요약
Android 13(API 33)+ 시스템 설정의 "앱별 언어 설정" 에 한국어 / English 선택지가 노출되도록
localeConfig를 추가합니다.기존에
res/values(한국어) +res/values-en(영어) 리소스는 이미 갖춰져 있었으나,localeConfig가 없어 시스템 언어 선택 UI 가 뜨지 않았습니다.변경 사항
app/build.gradle.kts:androidResources { generateLocaleConfig = true }res/values-*를 스캔해_generated_res_locale_config를 빌드 시 자동 생성하고, 병합 매니페스트에android:localeConfig를 자동 주입합니다.app/src/main/res/resources.properties(신규):unqualifiedResLocale=ko-KRres/values가 한국어임을 명시합니다.검증
mergeDevDebugResources로 생성 확인:processDevDebugMainManifest병합 결과에android:localeConfig="@xml/_generated_res_locale_config"자동 주입 확인.ktlintFormat통과.범위 / 참고