From f3025aa85c1d5231a0194c1139cd72f6aebd8fcd Mon Sep 17 00:00:00 2001 From: Andrii Bodnar Date: Thu, 19 Oct 2023 09:54:35 +0300 Subject: [PATCH] docs: xcstrings files section (#650) --- website/docs/advanced.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/website/docs/advanced.md b/website/docs/advanced.md index aebeb2c77..8871dd8c1 100644 --- a/website/docs/advanced.md +++ b/website/docs/advanced.md @@ -168,6 +168,24 @@ Example of the configuration: ] ``` +#### Apple Strings Catalog + +Apple Strings Catalog is a natively supported file format by Crowdin, you can use it without any additional installation. Since this file format is **multilingual** (contains multiple languages in one file), you can omit the language placeholders in the `translation` pattern: + +```yml title="crowdin.yml" +"files": [ + { + "source": "Localizable.xcstrings", + "translation": "Localizable.xcstrings", + "scheme": "" + } +] +``` + +:::caution +Note the `scheme` option in the configuration above. It's needed to indicate that this file is multilingual for correct file processing. +::: + ### Configure export options for each file group There is a way to specify export options for each file-group in the `crowdin.yml` configuration file: