统一语言值

This commit is contained in:
2026-03-04 21:27:51 +08:00
parent 8316d42fb3
commit a61f505f70
4 changed files with 10 additions and 13 deletions

View File

@@ -60,6 +60,9 @@ extern NSString * const KBLocalizationDidChangeNotification;
/// 基于一组“偏好语言”计算最佳支持语言。
- (KBLanguageCode)bestSupportedLanguageForPreferred:(NSArray<NSString *> *)preferred;
/// 当前请求使用的语言标识(与 Accept-Language 保持一致)。
- (NSString *)currentLanguageHeaderValue;
- (void)reloadFromSharedStorageIfNeeded;
@end