LocaleSupport

0.5.0

Swift references and extensions for app localization & internationalization.
richardpiazza/LocaleSupport

What's New

LocaleSupport 0.5.0

2024-03-02T17:31:09Z

What's Changed

Full Changelog: 0.4.3...0.5.0

LocaleSupport

Swift references and extensions for app localization & internationalization.

Twitter: @richardpiazza

Usage

LocaleSupport is distributed using the Swift Package Manager. To install it into a project, add it as a dependency within your Package.swift manifest:

let package = Package(
    ...
    dependencies: [
        .package(url: "https://github.com/richardpiazza/LocaleSupport.git", .upToNextMinor(from: "0.4.0"))
    ],
    ...
)

Then import the LocaleSupport packages wherever you'd like to use it:

import LocaleSupport

Targets

LocaleSupport

This module is focused on implementing localized strings within apps themselves. Highlighted by the LocalizedStringConvertible protocol.

Apple Platforms Note:

As of macOS 13, iOS 16, tvOS 16 & watchOS 9, the Locale type includes support for many of the extensions in this package:

  • Locale.LanguageCode
  • Locale.Script
  • Locale.Region
  • Locale.Components

Contribution

Contributions to LocaleSupport are welcomed and encouraged!

Description

  • Swift Tools 5.3.0
View More Packages from this Author

Dependencies

  • None
Last updated: Sat Mar 16 2024 09:20:01 GMT-0900 (Hawaii-Aleutian Daylight Time)