Skip to content

SwiftPackageRepository/ISO639.swift

Repository files navigation

ISO639 languages by alpha codes including all alphabets for swift

ISO639 is created and maintaned with ❥ by Sascha Muellner.


Swift codecov Platforms License Version Swift Version SPM compatible Reviewed by Hound README

What?

This is a Swift package with support for iOS/macOS/tvOS/watchOS that defines languages based on ISO639. Additional to the english name, the official name and all alpha code, also informations about language symbols (e.g. abc, азбука, ...), letter case (upper, lower, mixed) and the writing system (alphabetical, logographic and syllabic, ...) are available for each language.

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.6'

How to use?

Credits:

baptistejamin: https://github.com/baptistejamin/swift-locales-code