Ariver
2026-05-20 f8e102d2756a56efb6b9d92e578aedc3b7d63084
Apptag/L10n.swift
@@ -52,8 +52,12 @@
        guard supported.contains(where: { $0.code == code }) else { return }
        guard code != currentCode else { return }
        load(code)
        let relocalizedTags = TagDatabase.relocalizeSystemTagsForCurrentLanguage()
        UserDefaults.standard.set(code, forKey: "appLanguage")
        NotificationCenter.default.post(name: .appLanguageDidChange, object: nil, userInfo: ["code": currentCode])
        if relocalizedTags {
            NotificationCenter.default.post(name: .tagLauncherDataDidChange, object: nil)
        }
    }
    /// Load a specific key's translation for a given language code without switching.