ISO639 languages by alpha codes including all alphabets for swift
ISO639 is created and maintaned with ❥ by Sascha Muellner.
Requirements
The latest version of ISO639 requires:
- Swift 5+
- iOS 13+
- Xcode 11+
Installation
Swift Package Manager
Using SPM add the following to your dependencies
'ISO639', 'master', 'https://github.com/smuellner/ISO639.swift.git'
CocoaPods
Using CocoaPods add the following to your Podfile:
pod 'ISO639', '~> 1.1.4'
What?
This is a Swift package with support for iOS/macOS/tvOS/watchOS that defines languges based on ISO639-1 and allows for a lookup depending on the iso693 language code.
How to use?
Credits:
baptistejamin: https://github.com/baptistejamin/swift-locales-code