目录
目录README.md

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 ExpressibleByLocalizedString 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!

关于
202.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号