Avatar
Avatar
Yuta Saito
@swift-5.10.1 @swift-6.0.3 import Foundation for _ in 0...10 { let locales = Locale.availableIdentifiers.map { Locale(identifier: $0) } .filter { $0.currencyCode == "JPY" } print(locales) } (edited)
[zh_Hans_JP (fixed zh_Hans_JP), zh_Hant_JP (fixed zh_Hant_JP), ain_JP (fixed ain_JP), en_JP (fixed en_JP), ja_JP (fixed ja_JP)] [ja_JP (fixed ja_JP), zh_Hans_JP (fixed zh_Hans_JP), ain_JP (fixed ain_JP), zh_Hant_JP (fixed zh_Hant_JP), en_JP (fixed en_JP)] [ja_JP (fixed ja_JP), zh_Hans_JP (fixed zh_Hans_JP), ain_JP (fixed ain_JP), zh_Hant_JP (fixed zh_Hant_JP), en_JP (fixed en_JP)] [ja_JP (fixed ja_JP), zh_Hans_JP (fixed zh_Hans_JP), ain_JP (fixed ain_JP), zh_Hant_JP (fixed zh_Hant_JP), en_JP (fixed en_JP)] [ja_JP (fixed ja_JP), zh_Hans_JP (fixed zh_Hans_JP), ain_JP (fixed ain_JP), zh_Hant_JP (fixed zh_Hant_JP), en_JP (fixed en_JP)] [ja_JP (fixed ja_JP), zh_Hans_JP (fixed zh_Hans_JP), ain_JP (fixed ain_JP), zh_Hant_JP (fixed zh_Hant_JP), en_JP (fixed en_JP)] [ja_JP (fixed ja_JP), zh_Hans_JP (fixed zh_Hans_JP), ain_JP (fixed ain_JP), zh_Hant_JP (fixed zh_Hant_JP), en_JP (fixed en_JP)] [ja_JP (fixed ja_JP), zh_Hans_JP (fixed zh_Hans_JP), ain_JP (fixed ain_JP), zh_Hant_JP (fixed zh_Hant_JP), en_JP (fixed en_JP)] [ja_JP (fixed ja_JP), zh_Hans_JP (fixed zh_Hans_JP), ain_JP (fixed ain_JP), zh_Hant_JP (fixed zh_Hant_JP), en_JP (fixed en_JP)] [ja_JP (fixed ja_JP), zh_Hans_JP (fixed zh_Hans_JP), ain_JP (fixed ain_JP), zh_Hant_JP (fixed zh_Hant_JP), en_JP (fixed en_JP)] [ja_JP (fixed ja_JP), zh_Hans_JP (fixed zh_Hans_JP), ain_JP (fixed ain_JP), zh_Hant_JP (fixed zh_Hant_JP), en_JP (fixed en_JP)] (edited)