Releases: miroslavkovac/Lingo
Releases · miroslavkovac/Lingo
Improved locale format handling to match RFC 5646
- Updated README with instructions on how to migrate locale identifiers
- Added tests for locale validation
- Removed obsolete Swift 4 code (library has Swift 5 as minimum version)
Locale fallbacks
- Fall back to language code when localization file matching both language code and country code can not be found (for example en_US would fall back to en if en_US doesn't exist)
- Fall back to language code in pluralization rules lookup
Fixed Swift 4 warning
3.0.5
Added Brazilian Portuguese support
Swift 4 support
This release includes support for Swift 4 while preserving backwards compatibility with Swift 3.
Improved Linux support
- Fixed a crash when accessing
Locale.availableIdentifiers
for Swift 3.1 on Linux.
Improved error handling and API
- Added more checks and errors in all parsing code
- Improved documentation
- Added native Vapor provider support
API improvements and custom localizations data source
- Simplified and unified public API
- Added a possibility for loading localizations from a database or any custom written data source
- Improved documentation
Initial release
1.0.0