Latest 1.0.1
Homepage https://github.com/technology-ebay-de/TEDLocalization
License MIT
Platforms ios 5.0, requires ARC
Authors

Build Status

TEDLocalization will traverse your view hierarchy and localize the view’s text strings. It works with UILabels, UIButtons, and UITextFields.

How to use

In your storyboard or XIB, add localization keys to your views:

Storyboard

The localization keys map to the entries you added in your Localizable.strings file:

"NAV_Title" = "Localized Title";
"SCREEN_Label" = "Localized Label";
"SCREEN_TextField" = "Localized Text Field";
"SCREEN_Button" = "Localized Button";

When everything is set up, you can call TEDLocalization to localize the views:

- (void)viewDidLoad
{
    [super viewDidLoad];

    [TEDLocalization localize:self];
}

Localized Storyboard

Latest podspec

{
    "name": "TEDLocalization",
    "version": "1.0.1",
    "license": "MIT",
    "summary": "Easy localization of view controllers and views for iOS",
    "homepage": "https://github.com/technology-ebay-de/TEDLocalization",
    "authors": {
        "Claus Hu00f6fele": "[email protected]"
    },
    "source": {
        "git": "https://github.com/technology-ebay-de/TEDLocalization.git",
        "tag": "1.0.1"
    },
    "requires_arc": true,
    "platforms": {
        "ios": "5.0"
    },
    "source_files": "TEDLocalization/*.{h,m}"
}

Pin It on Pinterest

Share This