RxLocalizer

RxLocalizer allows you to localize your apps, using RxSwift 🚀

Showing:

Popularity

Downloads/wk

0

GitHub Stars

125

Maintenance

Last Commit

1mo ago

Contributors

8

Package

Dependencies

2

License

MIT

Categories

Readme

Build Status Swift RxSwift Platform License

🚀 RxLocalizer

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

🛠 Requirements

  • Xcode 12.4
  • Swift 5+
  • iOS 12+

⚙️ Installation

Swift Package Manager (requires Xcode 11)

Add package into Project settings -> Swift Packages

CocoaPods

pod 'RxLocalizer'

👨‍💻 Usage

Before all:

import RxLocalizer

Reactive localized strings

Localizer.shared.localized("Start")
.drive(startLabel.rx.text)
.disposed(by: disposeBag)

Synchronously localized strings

startLabel.text = Localizer.shared.localized("Start")

Change language

You are able to set language by language code. A full list of the codes you can check here.

Localizer.shared.changeLanguage.accept("en")

Change RxLocalizer configuration

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

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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100