지원되는 파일 유형(Strings)

.STRINGSDICT - iOS 복수형 번역 키(Strings)를 위한 Localizable Stringsdict

컨텐츠는 영어 텍스트를 Phrase Language AI를 이용해 기계 번역한 것입니다.

파일 확장명 

.stringsdict

API 확장 

stringsdict

가져오기 

내보내기 

복수형 지원 

설명 지원 

아니요

형식 옵션 

파일을 업로드 및/또는 다운로드할 때 지정할 수 있는 옵션입니다. 업로드/다운로드 방식(API, CLI, Repo 동기화 등)에 따라 문의 매개변수 업로드, 다운로드 또는 phrase.yml 구성 파일에서 지정할 수 있습니다.

convert_placeholder

OS Localizable Stringsdict는 언어 복수 규칙을 정의하는 데 사용되는 XML 기반 교환 파일 형식입니다. 이는 언어 내에서 문자열에 대해 서로 다른 복수형(예: 아랍어)으로 여러 번역을 제공할 때 사용됩니다. Stringsdict 파일의 루트 요소는 하나 이상의 <dict> 요소를 포함하는 <plist>입니다. 각 dict 요소는 소스 코드에서 참조될 키를 나타냅니다.

iOS Stringsdict는 복수 규칙이 다른 언어에 대한 대체 번역을 제공할 때만 사용해야 합니다. 그렇지 않은 경우, iOS 및 OS X용 표준 현지화 파일 형식인 iOS Strings Resource 파일 형식을 사용하십시오.

형식 옵션

식별자 

convert_placeholder

유형 

부울

업로드 

다운로드 

아니요

기본값 

false

설명 

자리 표시자는 형식별 요구 사항과 일치하도록 변환됩니다. 예: $s$@

코드 샘플

<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
  <dict>
    <key>pluralized_key</key>
    <dict>
      <key>NSStringLocalizedFormatKey</key>
      <string>%#@localized_format_key@</string>
      <key>localized_format_key</key>
      <dict>
        <key>NSStringFormatSpecTypeKey</key>
        <string>NSStringPluralRuleType</string>
        <key>NSStringFormatValueTypeKey</key>
        <string>d</string>
        <key>one</key>
        <string>하나의 복수형만 발견되었습니다.</string>
        <key>other</key>
        <string>와, %s개의 복수형이 있습니다!</string>
        <key>zero</key>
        <string>복수형이 없습니다.</string>,translation_2:
      </dict>
    </dict>
  </dict>
</plist>
도움이 되었습니까?

Sorry about that! In what way was it not helpful?

The article didn’t address my problem.
I couldn’t understand the article.
The feature doesn’t do what I need.
Other reason.

Note that feedback is provided anonymously so we aren't able to reply to questions.
If you'd like to ask a question, submit a request to our Support team.
Thank you for your feedback.