Skip to content

phrase pull format options to set extractionState for .xcstrings #178

@binovsky

Description

@binovsky

Hello,

recently we decided to migrate our iOS Xcode project from .strings and .stringsdict files to newer .xcstrings format mainly to take advantage of newly introduced compile time generated swift symbols for localisation keys. We updated our .phraseapp.yml to export into .xcstrings and all is working good. But to take advantage of Swift compiler to generate a Swift symbols for us, we have to set each key extractionState to manual as when this key is omited from json file it's implicitly set as automatic and in that case Swift won't generate symbols for us. We made small script to load the JSON and insert extractionState key for each localisation key but it would be great if we got some format option configuration value that we could set in .phraseapp.yml and phrase cli would do this automatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions