언어 설정 화면 추가 및 언어 헤더 적용

설정에서 시스템/한국어/영어/일본어 선택을 지원한다.

선택 시 Accept-Language 헤더와 UI locale을 즉시 반영한다.

언어 변경 후 스플래시를 거쳐 메인으로 소프트 재시작한다.
This commit is contained in:
Yu Sung
2025-12-16 22:56:37 +09:00
parent b2c94a44d9
commit 0285f62ecb
22 changed files with 512 additions and 61 deletions

View File

@@ -102,7 +102,7 @@ final class MyPageViewModel: ObservableObject {
} else {
UserDefaults.set(ContentType.MALE.rawValue, forKey: .contentPreference)
}
AppState.shared.isChangeAdultContentVisible = true
AppState.shared.isRestartApp = true
AppState.shared.setAppStep(step: .splash)
} else {
if let message = decoded.message {