Latest 1.0.3
Homepage https://github.com/RxSwiftCommunity/RxLocalizer
License MIT
Platforms ios 10.0, requires ARC
Dependencies RxSwift, RxCocoa
Authors

Build Status
Swift
RxSwift
Platform
License

RxLocalizer is a framework written in swift which allows you to localize your apps, using RxSwift.

RxLocalizer

## Requirements

– Xcode 10
– Swift 4.2
– iOS 10+

## Installation

### CocoaPods

“`ruby
pod ‘RxLocalizer’
“`

## Usage

### Before all:

“`swift
import RxLocalizer
“`

### Reactive localized strings

“`swift
Localizer.shared.localized(“Start”)
.drive(startLabel.rx.text)
.disposed(by: disposeBag)
“`

### Change language

You are able to set language by language code.
A full list of the codes you can check [here](https://www.ibabbleon.com/iOS-Language-Codes-ISO-639.html).
“`swift
Localizer.shared.changeLanguage.accept(“en”)
“`

### Change RxLocalizer configuration

You are able to change default configuration, using `changeConfiguration` property.

“`swift
let localizerConfig = LocalizerConfig(defaults: .standard, bundle: .main, tableName: “Localizable”)
Localizer.shared.changeConfiguration.accept(localizerConfig)
“`

## License

RxLocalizer is available under the MIT license. See the LICENSE file for more info.
Copyright (c) RxSwiftCommunity

Latest podspec

{
    "name": "RxLocalizer",
    "platforms": {
        "ios": "10.0"
    },
    "summary": "RxLocalizer allows you to localize your app with RxSwift.",
    "requires_arc": true,
    "version": "1.0.3",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Vladislav Khambir": "[email protected]"
    },
    "homepage": "https://github.com/RxSwiftCommunity/RxLocalizer",
    "source": {
        "git": "https://github.com/RxSwiftCommunity/RxLocalizer.git",
        "tag": "1.0.3"
    },
    "dependencies": {
        "RxSwift": [
            "~> 4.3.1"
        ],
        "RxCocoa": [
            "~> 4.3.1"
        ]
    },
    "source_files": "Source/*.swift",
    "swift_version": "4.2"
}

Pin It on Pinterest

Share This