내 응용 프로그램을 번역하려고하는데 자리 표시 자의 절반이있을 때 번역하기가 어렵습니다.자리 표시 자 및 NSLocalizedString
[textView1 insertText:[NSString stringWithFormat:NSLocalizedString(@"festaCompresaW, @""), nomeFesta, giornoFesta, meseFesta, annoFestaModificato, ggSett]];
그것을 : 나는 코드의 부분을 편집 한 다음
"festaCompresa" = @"%@ is the %i/%i/%i. the day of the week is %@. The holidays is included in the calculation. \n";
:
[textView1 insertText:[NSString stringWithFormat:@"%@ è il %i/%i/%i. Il giorno delle settimana è %@. La Festa è compresa nel calcolo. \n", nomeFesta, giornoFesta, meseFesta, annoFestaModificato, ggSett]];
내가 파일 localizable.string에 넣어 (영어) : 나는 다음과 같은 코드를 찾아야 작동하지 않습니다.
어떻게 도움이되기를 바랍니다 :
이 될한다 정확히 작동하지 않습니까? – hamstergene
단어 비교 때문에 화면이 올바르지 않습니다. festaCompresaW – Andrea
또한 파일에 오류가 있습니다. 문자열 : 유효성 검사에 실패했습니다 : 데이터가 손상되어 읽을 수 없습니다. – Andrea