아래와 같이 stringWithFormat을 정수 값으로 사용하여 세부 텍스트 레이블을 현지화해야합니다. 혹시 필요하면stringWithFormat을 % d로 지역화하는 방법은 무엇입니까?
cell.detailTextLabel.text =
[NSString stringWithFormat:NSLocalizedString(@"Remaining: %d", @"description for translators"), count];
: "Remaining: %d" = "Remaining: %d
는 영어 Localizable.strings 파일에 있고 "Remaining: %d" = "Restante: %d
는 스페인어 하나에 가정 예를 들어
cell.detailTextLabel.text =
[NSString stringWithFormat:@"Remaining: %d", count];
당신이하려고하는 것이 무엇인지 명확하게 알려주십시오 ...? –