How and when does Foundation's Locale data get updated?












0















My financial exchange app needed to be updated as Venezuela added a new currency in August. Below is the ISO currency information from the Swiss Assoc. for Standardization on Venezuela's new currency. The currency code is VES.



<CcyNtry>
<CtryNm>VENEZUELA (BOLIVARIAN REPUBLIC OF)</CtryNm>
<CcyNm>Bolívar Soberano</CcyNm>
<Ccy>VES</Ccy>
<CcyNbr>928</CcyNbr>
<CcyMnrUnts>2</CcyMnrUnts>
</CcyNtry>


But I'm still not seeing the currency code VES in Apple's Locale struct. This code appears correct for other currencies. I'm using Xcode 10.1.



let currencyCode = "VES"
let identifierList = Locale.availableIdentifiers.map { Locale(identifier: $0)}.filter { return currencyCode == $0.currencyCode }
print(identifierList)


Have I failed to do something on my end to see the currency? Is the code wrong? Do I wait for a new Xcode version? I'm trying to get a sense of how and when built-in data gets updated.










share|improve this question

























  • This is less of a programming question and more of a "when will Apple update iOS/macOS with the updated locale information" question.

    – rmaddy
    Nov 17 '18 at 4:22













  • So this is a matter of waiting months for an Xcode update as opposed to installing something? Because it has been so long, I was wondering if the lookup code is wrong.

    – Marcy
    Nov 17 '18 at 4:26











  • It has nothing to do with Xcode. It's a matter of Apple adding support to iOS and macOS.

    – rmaddy
    Nov 17 '18 at 4:34











  • Ok. I thought I must be doing something wrong. Do you happen to know if there is a particular place to request these updates? I guess just general Apple support?

    – Marcy
    Nov 17 '18 at 4:44






  • 1





    bugreport.apple.com

    – matt
    Nov 17 '18 at 5:23
















0















My financial exchange app needed to be updated as Venezuela added a new currency in August. Below is the ISO currency information from the Swiss Assoc. for Standardization on Venezuela's new currency. The currency code is VES.



<CcyNtry>
<CtryNm>VENEZUELA (BOLIVARIAN REPUBLIC OF)</CtryNm>
<CcyNm>Bolívar Soberano</CcyNm>
<Ccy>VES</Ccy>
<CcyNbr>928</CcyNbr>
<CcyMnrUnts>2</CcyMnrUnts>
</CcyNtry>


But I'm still not seeing the currency code VES in Apple's Locale struct. This code appears correct for other currencies. I'm using Xcode 10.1.



let currencyCode = "VES"
let identifierList = Locale.availableIdentifiers.map { Locale(identifier: $0)}.filter { return currencyCode == $0.currencyCode }
print(identifierList)


Have I failed to do something on my end to see the currency? Is the code wrong? Do I wait for a new Xcode version? I'm trying to get a sense of how and when built-in data gets updated.










share|improve this question

























  • This is less of a programming question and more of a "when will Apple update iOS/macOS with the updated locale information" question.

    – rmaddy
    Nov 17 '18 at 4:22













  • So this is a matter of waiting months for an Xcode update as opposed to installing something? Because it has been so long, I was wondering if the lookup code is wrong.

    – Marcy
    Nov 17 '18 at 4:26











  • It has nothing to do with Xcode. It's a matter of Apple adding support to iOS and macOS.

    – rmaddy
    Nov 17 '18 at 4:34











  • Ok. I thought I must be doing something wrong. Do you happen to know if there is a particular place to request these updates? I guess just general Apple support?

    – Marcy
    Nov 17 '18 at 4:44






  • 1





    bugreport.apple.com

    – matt
    Nov 17 '18 at 5:23














0












0








0








My financial exchange app needed to be updated as Venezuela added a new currency in August. Below is the ISO currency information from the Swiss Assoc. for Standardization on Venezuela's new currency. The currency code is VES.



<CcyNtry>
<CtryNm>VENEZUELA (BOLIVARIAN REPUBLIC OF)</CtryNm>
<CcyNm>Bolívar Soberano</CcyNm>
<Ccy>VES</Ccy>
<CcyNbr>928</CcyNbr>
<CcyMnrUnts>2</CcyMnrUnts>
</CcyNtry>


But I'm still not seeing the currency code VES in Apple's Locale struct. This code appears correct for other currencies. I'm using Xcode 10.1.



let currencyCode = "VES"
let identifierList = Locale.availableIdentifiers.map { Locale(identifier: $0)}.filter { return currencyCode == $0.currencyCode }
print(identifierList)


Have I failed to do something on my end to see the currency? Is the code wrong? Do I wait for a new Xcode version? I'm trying to get a sense of how and when built-in data gets updated.










share|improve this question
















My financial exchange app needed to be updated as Venezuela added a new currency in August. Below is the ISO currency information from the Swiss Assoc. for Standardization on Venezuela's new currency. The currency code is VES.



<CcyNtry>
<CtryNm>VENEZUELA (BOLIVARIAN REPUBLIC OF)</CtryNm>
<CcyNm>Bolívar Soberano</CcyNm>
<Ccy>VES</Ccy>
<CcyNbr>928</CcyNbr>
<CcyMnrUnts>2</CcyMnrUnts>
</CcyNtry>


But I'm still not seeing the currency code VES in Apple's Locale struct. This code appears correct for other currencies. I'm using Xcode 10.1.



let currencyCode = "VES"
let identifierList = Locale.availableIdentifiers.map { Locale(identifier: $0)}.filter { return currencyCode == $0.currencyCode }
print(identifierList)


Have I failed to do something on my end to see the currency? Is the code wrong? Do I wait for a new Xcode version? I'm trying to get a sense of how and when built-in data gets updated.







ios locale foundation






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 17 '18 at 5:24









matt

326k46527727




326k46527727










asked Nov 17 '18 at 4:16









MarcyMarcy

3222311




3222311













  • This is less of a programming question and more of a "when will Apple update iOS/macOS with the updated locale information" question.

    – rmaddy
    Nov 17 '18 at 4:22













  • So this is a matter of waiting months for an Xcode update as opposed to installing something? Because it has been so long, I was wondering if the lookup code is wrong.

    – Marcy
    Nov 17 '18 at 4:26











  • It has nothing to do with Xcode. It's a matter of Apple adding support to iOS and macOS.

    – rmaddy
    Nov 17 '18 at 4:34











  • Ok. I thought I must be doing something wrong. Do you happen to know if there is a particular place to request these updates? I guess just general Apple support?

    – Marcy
    Nov 17 '18 at 4:44






  • 1





    bugreport.apple.com

    – matt
    Nov 17 '18 at 5:23



















  • This is less of a programming question and more of a "when will Apple update iOS/macOS with the updated locale information" question.

    – rmaddy
    Nov 17 '18 at 4:22













  • So this is a matter of waiting months for an Xcode update as opposed to installing something? Because it has been so long, I was wondering if the lookup code is wrong.

    – Marcy
    Nov 17 '18 at 4:26











  • It has nothing to do with Xcode. It's a matter of Apple adding support to iOS and macOS.

    – rmaddy
    Nov 17 '18 at 4:34











  • Ok. I thought I must be doing something wrong. Do you happen to know if there is a particular place to request these updates? I guess just general Apple support?

    – Marcy
    Nov 17 '18 at 4:44






  • 1





    bugreport.apple.com

    – matt
    Nov 17 '18 at 5:23

















This is less of a programming question and more of a "when will Apple update iOS/macOS with the updated locale information" question.

– rmaddy
Nov 17 '18 at 4:22







This is less of a programming question and more of a "when will Apple update iOS/macOS with the updated locale information" question.

– rmaddy
Nov 17 '18 at 4:22















So this is a matter of waiting months for an Xcode update as opposed to installing something? Because it has been so long, I was wondering if the lookup code is wrong.

– Marcy
Nov 17 '18 at 4:26





So this is a matter of waiting months for an Xcode update as opposed to installing something? Because it has been so long, I was wondering if the lookup code is wrong.

– Marcy
Nov 17 '18 at 4:26













It has nothing to do with Xcode. It's a matter of Apple adding support to iOS and macOS.

– rmaddy
Nov 17 '18 at 4:34





It has nothing to do with Xcode. It's a matter of Apple adding support to iOS and macOS.

– rmaddy
Nov 17 '18 at 4:34













Ok. I thought I must be doing something wrong. Do you happen to know if there is a particular place to request these updates? I guess just general Apple support?

– Marcy
Nov 17 '18 at 4:44





Ok. I thought I must be doing something wrong. Do you happen to know if there is a particular place to request these updates? I guess just general Apple support?

– Marcy
Nov 17 '18 at 4:44




1




1





bugreport.apple.com

– matt
Nov 17 '18 at 5:23





bugreport.apple.com

– matt
Nov 17 '18 at 5:23












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53348152%2fhow-and-when-does-foundations-locale-data-get-updated%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53348152%2fhow-and-when-does-foundations-locale-data-get-updated%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

Tangent Lines Diagram Along Smooth Curve

Yusuf al-Mu'taman ibn Hud

Zucchini