Latest1.0.0
Homepagehttps://github.com/michaelhenry/Localizr-iOS
LicenseMIT
Platformsios 9.0
Authors

Localizr.swift

CI Status
Version
License
Platform

Preview

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

I did not write anything to all Localizable.strings files that can be found in Locales folder so that you could see how it was generated and synced using the Localizr server when you start to run this example project.

You can check the Project’s Build Phases > Run Script and see how I CURL(ed) the data from the Localizr server. I do recommend to do this using CI for adhoc build distribution(not development/appstore/testflight build distribution).

Requirements

Installation

Localizr.swift is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'Localizr.swift'

How to use it.

import Localizr_swift

To show all supported localization

Localizr.supportedLocales()

To update the current localization

Localizr.update(locale: "en")

To get the current localization

Localizr.currentLocale()

To show the localized value

"HELLO_WORLD".localized()

Author

Michael Henry Pantaleon, [email protected]

License

Localizr.swift is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "Localizr-iOS",
    "version": "1.0.0",
    "summary": "An iOS library that simplies the Localization process.",
    "description": "An iOS library that simplies the Localization process. nIt's recommended to use Localizr server (https://github.com/michaelhenry/Localizr) so that the localization process can be automated and can be done by different translators.",
    "homepage": "https://github.com/michaelhenry/Localizr-iOS",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Michael Henry Pantaleon": "[email protected]"
    },
    "source": {
        "git": "https://github.com/michaelhenry/Localizr-iOS.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "Localizr-iOS/Classes/**/*",
    "swift_version": "4.1"
}

Pin It on Pinterest

Share This