capturecontext/swift-xcstrings-catalog
Library for parsing and generating xcstrings files
Table of Contents
Motivation
This fork of liamnichols/swift-localized-strings brings the following adjustments:
- Adjusted naming conventions
- Adjusted placeholders detection
- Introduces package traits (
Swift 6.1) - Uses
pointfreeco/swift-dependencies - Uses
pointfreeco/swift-snapshot-testing - Uses tabs for indentation
To match our vision for capturecontext/package-resources-cli localized strings support
Installation
Basic
You can add swift-xcstrings-catalog to an Xcode project by adding it as a package dependency.
- From the File menu, select Swift Packages › Add Package Dependency…
- Enter
"https://github.com/capturecontext/swift-xcstrings-catalog"into the package repository URL text field - Choose products you need to link to your project.
Recommended
If you use SwiftPM for your project structure, add swift-xcstrings-catalog dependency to your package file
.package(
url: "https://github.com/capturecontext/swift-xcstrings-catalog.git",
.upToNextMinor(from: "1.0.0")
)Do not forget about target dependencies
.product(
name: "XCStringsCatalog",
package: "swift-xcstrings-catalog"
)License
This library is released under the MIT license. See LICENSE for details.
Package Metadata
Repository: capturecontext/swift-xcstrings-catalog
Default branch: main
README: README.md