Skip to content

[Feat] Extract localizable Strings from SwiftUI Text #276

@guidev

Description

@guidev

Steps to Reproduce:

In SwiftUI Text() and Button() are automatically localisable.

For instance using

Text("Title"), automatically looks for localisations with the key "Title"

Unfortunately when running bartycrouch, if there's a "Title" entry in the localizable.strings it gets deleted.

Expected Behavior:

Bartycrouch should treat Text("Title") or Button("Title") the same ways it does with NSLocalizedString("Title")

Current Behavior:

Doesn't recognise that it's a localisable string.

Environment

Show environment details

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