Skip to content

iOSWizards/AwesomeLocalization

Repository files navigation

AwesomeLocalization

Version License Platform

Example

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

Requirements

  • iOS 9.0 or Higher
  • Swift 4

Installation

AwesomeLocalization is a public pod, only available through the address below.

pod 'AwesomeLocalization', git: 'https://github.com/iOSWizards/AwesomeLocalization.git', tag: '0.2.2'

Usage

  1. Add the file Localizable.strings to the project
    alt text

  2. Add localization placeholders to Localizable file
    alt text

  3. In the Storyboard, select the component you want to localize, add localization placeholder to Localized Text field.
    alt text

  4. Run the project

Available Fields

  1. Localized Text: Placeholder for localization.
  2. Custom Localization File: Name of localization file (if not Localizable.strings)
  3. is Attributed: Toggles on/off attributed strings for HTML formatting.

UIKit support

Currently, AwesomeLocalization supports localization for:

  • UIButton
  • UILabel
  • UITextField
  • UINavigationItem
  • UIBarItem

License

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