0
내 앱을 iWatch에서 두 가지 언어로 현지화합니다. 대부분의 텍스트는 [복잡화] 및 [경고] 대화 상자를 제외하고는 현지화됩니다.iWatch의 NSLocalizedString
아무도 도와 줄 수 있습니까? 경고
let restartAction = WKAlertAction(title: NSLocalizedString("OK", comment: ""), style: .destructive, handler: {
//some code here
})
let cancelAction = WKAlertAction(title: NSLocalizedString("Cancel", comment: ""), style: .cancel, handler: {})
presentAlert(withTitle: NSLocalizedString("Restart the page?", comment: ""), message: "", preferredStyle: .alert, actions: [restartAction, cancelAction])
무엇을 시도 했습니까? 어떤 Apple Localization 설명서를 보았습니까? –
NSLocalizedString ("Page", comment : "") –
텍스트를 'Localizable.strings' 파일에 추가 했습니까? – Sulthan