Latest1.1.1
Homepagehttps://github.com/Digipolitan/localization-toolkit
LicenseBSD
Platformsios 8.0, watchos 2.0, tvos 9.0, osx 10.10, requires ARC

Swift Version
Build Status
CocoaPods Compatible
Carthage Compatible
Swift Package Manager Compatible
Platform
Twitter

LocalizationToolkit Swift is an helper for String Localization

Installation

CocoaPods

To install LocalizationToolkit with CocoaPods, add the following lines to your Podfile.

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
use_frameworks!

pod 'LocalizationToolkit'

Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage with Homebrew using the following command:

$ brew update
$ brew install carthage

To integrate LocalizationToolkit into your Xcode project using Carthage, specify it in your Cartfile:

github 'Digipolitan/localization-toolkit' ~> 1.0

Run carthage update to build the framework and drag the built LocalizationToolkit.framework into your Xcode project.

Swift Package Manager

The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler.

Once you have your Swift package set up, adding LocalizationToolkit as a dependency is as easy as adding it to the dependencies value of your Package.swift.

dependencies: [
    .package(url: "https://github.com/Digipolitan/localization-toolkit.git", from: "1.0.0")
]

The Basics

let loc = "my_loc_key".localized()
print("(loc)")

Contributing

See CONTRIBUTING.md for more details!

This project adheres to the Contributor Covenant Code of Conduct.
By participating, you are expected to uphold this code. Please report
unacceptable behavior to [email protected].

License

LocalizationToolkit is licensed under the BSD 3-Clause license.

Latest podspec

{
    "name": "LocalizationToolkit",
    "version": "1.1.1",
    "summary": "Localization helper for swift project",
    "homepage": "https://github.com/Digipolitan/localization-toolkit",
    "authors": "Digipolitan",
    "source": {
        "git": "https://github.com/Digipolitan/localization-toolkit.git",
        "tag": "v1.1.1"
    },
    "license": {
        "type": "BSD",
        "file": "LICENSE"
    },
    "source_files": "Sources/LocalizationToolkit/*.{swift,h}",
    "ios": {
        "source_files": "Sources/LocalizationToolkit/UIKit/*.{swift,h}"
    },
    "tvos": {
        "source_files": "Sources/LocalizationToolkit/UIKit/*.{swift,h}"
    },
    "watchos": {
        "source_files": "Sources/LocalizationToolkit/UIKit/*.{swift,h}"
    },
    "osx": {
        "source_files": "Sources/LocalizationToolkit/AppKit/*.{swift,h}"
    },
    "platforms": {
        "ios": "8.0",
        "watchos": "2.0",
        "tvos": "9.0",
        "osx": "10.10"
    },
    "requires_arc": true,
    "pushed_with_swift_version": "4.0"
}

Pin It on Pinterest

Share This