Global Default Indicators (#8) Added LocaleSupportConfiguration.defaultIndicators
Global Default Indicators (#8)
Added LocaleSupportConfiguration.defaultIndicators
LocaleSupportConfiguration.defaultIndicators
Swift references and extensions for app localization & internationalization.
LocaleSupport is distributed using the Swift Package Manager. To install it into a project, add it as a dependency within your Package.swift manifest:
Package.swift
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
This module is focused on implementing localized strings within apps themselves. Highlighted by the ExpressibleByLocalizedString protocol.
ExpressibleByLocalizedString
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:
macOS 13
iOS 16
tvOS 16
watchOS 9
Locale
Locale.LanguageCode
Locale.Script
Locale.Region
Locale.Components
Contributions to LocaleSupport are welcomed and encouraged!
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
LocaleSupport
Swift references and extensions for app localization & internationalization.
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:Then import the LocaleSupport packages wherever you’d like to use it:
Targets
LocaleSupport
This module is focused on implementing localized strings within apps themselves. Highlighted by the
ExpressibleByLocalizedString
protocol.Apple Platforms Note:
As of
macOS 13
,iOS 16
,tvOS 16
&watchOS 9
, theLocale
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!