import Foundation for _ in 0...10 { let locales = Locale.availableIdentifiers.map { Locale(identifier: $0) } .filter { $0.currencyCode == "JPY" } print(locales) }