mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-19 23:07:33 +09:00
13 lines
406 B
Swift
13 lines
406 B
Swift
#!/usr/bin/env swift
|
|
|
|
import Foundation
|
|
|
|
var allLocales = NSLocale.availableLocaleIdentifiers()
|
|
|
|
// iOS doesn't directly support zh-CN/zh-TW; instead, it supports zh-Hans-CN and zh-Hant-TW, respectively.
|
|
// These transformations are done in SearchEngines.swift. Add them to the list of supported engines so
|
|
// that we download them.
|
|
allLocales.append("zh_CN")
|
|
allLocales.append("zh_TW")
|
|
|
|
print(allLocales)
|