{"id":1323,"date":"2015-01-20T15:32:57","date_gmt":"2015-01-20T15:32:57","guid":{"rendered":"https:\/\/ibex.tech\/visualcpp\/?p=1323"},"modified":"2022-02-17T06:24:03","modified_gmt":"2022-02-17T06:24:03","slug":"setting-app-to-different-localization","status":"publish","type":"post","link":"https:\/\/ibex.tech\/visualcpp\/localization-multi-language-support\/setting-app-to-different-localization","title":{"rendered":"Setting App To Different Localization"},"content":{"rendered":"<h4>\nChange the local of the current thread<br \/>\n<\/h4>\n<pre>\r\n<code>\r\n\tSystem::Threading::Thread::CurrentThread-&gt;CurrentCulture = gcnew System::Globalization::CultureInfo(&quot;fr-FR&quot;);\r\n\tSystem::Threading::Thread::CurrentThread-&gt;CurrentUICulture = gcnew System::Globalization::CultureInfo(&quot;fr-FR&quot;);\r\n<\/code><\/pre>\n<p>\nCurrentCulture is the .NET representation of the default user locale of the system. This controls default number and date formatting and the like.\n<\/p>\n<p>\nCurrentUICulture refers to the default user interface language, a setting introduced in Windows 2000. This is primarily regarding the UI localization\/translation part of your app.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Change the local of the current thread System::Threading::Thread::CurrentThread-&gt;CurrentCulture = gcnew System::Globalization::CultureInfo(&quot;fr-FR&quot;); System::Threading::Thread::CurrentThread-&gt;CurrentUICulture = gcnew System::Globalization::CultureInfo(&quot;fr-FR&quot;); CurrentCulture is the .NET representation of the default user locale of the system. This controls default number and date formatting and the like. CurrentUICulture refers to the default user interface language, a setting introduced in Windows 2000. This is primarily [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[105],"tags":[],"class_list":["post-1323","post","type-post","status-publish","format-standard","hentry","category-localization-multi-language-support"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/1323","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/comments?post=1323"}],"version-history":[{"count":2,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/1323\/revisions"}],"predecessor-version":[{"id":1325,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/1323\/revisions\/1325"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/media?parent=1323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/categories?post=1323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/tags?post=1323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}