Translatio alternatives and similar libraries
Based on the "Localization" category.
Alternatively, view Translatio alternatives based on common mentions on social networks and blogs.
-
SwiftGen-L10n
The Swift code generator for your assets, storyboards, Localizable.strings, … — Get rid of all String-based APIs! -
Localize-Swift
Swift friendly localization and i18n with in-app language switching -
BartyCrouch
Localization/I18n: Incrementally update/translate your Strings files from .swift, .h, .m(m), .storyboard or .xib files. -
LocalizationKit
Realtime Dynamic localization translation delivery system for iOS and Mac OSX in Swift. Create and update texts from localization.com without needing to recompile or redeploy. Cocapod for iOS devices (iPad, iPhone, iPod Touch and Mac) -
Swifternalization
Localize iOS apps in a smarter way using JSON files. Swift framework. -
IBLocalizable
Localize your views directly in Interface Builder with IBLocalizable -
Localize
Localize is a framework writed in swift to localize your projects easier improves i18n, including storyboards and strings. -
L10n-swift
Localization of the application with ability to change language "on the fly" and support for plural form in any language. -
CrowdinSDK
Crowdin iOS SDK delivers all new translations from Crowdin project to the application immediately -
Locheck
Validate iOS, Android, and Mac localizations. Find errors in .strings, .stringsdict, and strings.xml files. -
NoOptionalInterpolation
✍️ No "Optional(...)" in string interpolation + Easy pluralization
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Translatio or a related project?
README
Translatio
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
iOS 9 or higher. Swift 5.
Installation
Translatio is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "Translatio"
Usage
Code
Translatio provides 2 additions to the String objects :
localized
propertylocalized(withBundle:tableName)
method
They can both be used easily in code, this is an example :
let hello = "UI.Home.Hello".localized
let anotherHello = "UI.Home.Hello".localized(withBundle: Bundle.main, tableName: "Labels")
Interface Builder (storyboard and xib)
Translatio adds extensions to all the most common UI elements such as UIButton, UITextField, UITextView, UILabel, UIBarButtonItem, UINavigationItem. The extensions provide an @IBInspectable
property that can be modified directly in the storyboard. This gives a very big advantage in localizing interface files.
As you can see the UILabel now has a Localizable Text property that can be modified directly in the IB.
Author
Andrea Mario Lufino, andrealufino.me.
License
Translatio is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the Translatio README section above
are relevant to that project's source code only.