A Swift framework for localizing iOS apps using JSON files with built-in pluralization, length variations, and expression support.
Swifternalization is a Swift framework for iOS that enables smarter app localization using JSON files instead of Apple’s standard .strings files. It solves complex localization problems like pluralization and length-based string variations with built-in expression matching, reducing the need for custom logic in code. The framework supports multiple languages and provides tools like inequality and regex expressions to handle diverse linguistic rules.
iOS developers building apps that require robust, multi-language support, especially those dealing with languages with complex pluralization rules (like Polish) or needing dynamic string selection based on screen width.
Developers choose Swifternalization because it simplifies localization by eliminating .stringsdict files, provides built-in pluralization logic for many languages, and offers a flexible expression system that handles edge cases declaratively, all while maintaining compatibility from iOS 8.0.
Localize iOS apps in a smarter way using JSON files. Swift framework.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Replaces verbose .stringsdict files with JSON, reducing boilerplate and making complex localization structures more readable and maintainable.
Includes pre-defined expressions for languages with intricate plural rules like Polish, eliminating the need for custom code to handle cases such as 'few' or 'many'.
Supports screen-width–based string selection from iOS 8.0, offering a feature that Apple only introduced natively in iOS 9.0, with a straightforward '@' syntax in JSON.
Allows dynamic string matching using inequality, extended inequality, and regex expressions, enabling declarative handling of numeric or string conditions without writing Swift logic.
Requires converting existing .strings files to JSON, which can be cumbersome for established projects and may break integration with Xcode's localization tools.
Swift 3 support is on a separate branch with unresolved CocoaPods issues, as noted in the README, indicating potential maintenance delays and compatibility risks.
Lacks direct support in Xcode's interface builder or localization editor, forcing developers to manually edit JSON files and manage expressions without GUI assistance.