멀티플랫폼 현지화¶
여러 플랫폼 (예: Android 및 iOS)용 앱을 번역할 때 각 플랫폼에 대해 별도의 구성요소를 구성하세요. 번역 전파 이 문자열을 동기화 상태로 유지하는 데 도움이 됩니다.
모범 사례:
플랫폼당 하나의 구성요소를 만듭니다 (예: MyApp Android, MyApp iOS).
가능한 한 플랫폼 전반에 걸쳐 동일한 원문 문자열과 키가 사용되도록 합니다.
번역 전파 허용 을 활성화하여 일치하는 문자열에 대해 번역을 자동으로 재사용합니다.
이 설정은 중복 작업을 방지하고 플랫폼 전반에 걸쳐 번역의 일관성을 유지합니다.
Translation propagation only reuses matching strings. The source text and
context have to be identical. For monolingual formats, the key has to match as
well. Propagation does not convert message syntax or semantics, so strings
using different placeholder syntaxes, such as Hello {name} and
Hello %s, do not match.
When consumers use the same messages but require different runtime representations, consider keeping one canonical localization format and generating consumer-specific resources in the build pipeline. This also allows the generated resources to contain only the strings and languages needed by each consumer. Use separate components when translators need to maintain genuinely different messages. Disable translation propagation for these components, or assign distinct keys or contexts to platform-specific messages, so later edits do not overwrite intentional differences.