{"id":37587,"date":"2024-11-01T09:58:45","date_gmt":"2024-11-01T09:58:45","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=37587"},"modified":"2024-11-01T11:02:07","modified_gmt":"2024-11-01T11:02:07","slug":"uwp-development-creating-multilingual-version-apps","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/37587\/","title":{"rendered":"UWP Development, Creating Multilingual Version Apps"},"content":{"rendered":"<div>\n<p>\n        UWP (Universal Windows Platform) is an application platform provided by Microsoft that allows you to create apps that can run on various Windows devices.<br \/>\n        Creating multilingual versions of apps is essential to reach global users.<br \/>\n        This course will explain how to create multilingual apps in UWP in detail.\n    <\/p>\n<h2>1. The Necessity of Multilingual Apps<\/h2>\n<p>\n        In today\u2019s app ecosystem, it is important to target users from diverse cultures and languages.<br \/>\n        Supporting multiple languages improves user experience and can facilitate more downloads and usage worldwide.<br \/>\n        The primary method for supporting multilingual features in UWP apps is by using resource files.\n    <\/p>\n<h2>2. Basic Concepts of UWP App Localization<\/h2>\n<p>\n        Here are some basic concepts that can be used when creating multilingual apps in UWP:<\/p>\n<ul>\n<li><strong>Resource Files:<\/strong> Files that contain resources such as strings and images for each language.<\/li>\n<li><strong>Localization:<\/strong> The process of adjusting the app to fit specific languages and regions.<\/li>\n<li><strong>Culture Information:<\/strong> The UI is automatically adjusted based on the user&#8217;s language and region information.<\/li>\n<\/ul>\n<h2>3. Adding Resource Files to UWP Apps<\/h2>\n<p>\n        To add multilingual support to a UWP app, you first need to add resource files. Here\u2019s how to create resource files in your project using Visual Studio.\n    <\/p>\n<h3>3.1. Creating Resource Files<\/h3>\n<ol>\n<li>Open the Solution Explorer in Visual Studio, right-click your project and select <strong>Add &gt; New Item<\/strong>.<\/li>\n<li>Select <strong>Resource File (Resx)<\/strong>, and name the file <strong>Strings.resx<\/strong>. Add the strings that will be used as the default language in this file.<\/li>\n<\/ol>\n<h3>3.2. Creating Language-Specific Resource Files<\/h3>\n<ol>\n<li>Add a new .resx file for each language. For example, the Korean version file should be named <strong>Strings.ko.resx<\/strong>, and the English version should be named <strong>Strings.en.resx<\/strong>.<\/li>\n<li>Add the appropriate strings for each language in each file.<\/li>\n<\/ol>\n<h2>4. Using Resource Files<\/h2>\n<p>\n        Here\u2019s how to use the strings defined in resource files in your app.\n    <\/p>\n<h3>4.1. Using Resources in XAML<\/h3>\n<p><code><br \/>\n<![CDATA[\n        <TextBlock Text=\"{x:Bind ResourceLoader.GetForCurrentView().GetString('HelloWorld')}\" \/>\n        ]]><br \/>\n<\/code><\/p>\n<h3>4.2. Using Resources in C#<\/h3>\n<p><code><br \/>\n<![CDATA[\n        var loader = Windows.ApplicationModel.Resources.ResourceLoader.GetForCurrentView();\n        string hello = loader.GetString(\"HelloWorld\");\n        TextBlock.Text = hello;\n        ]]><br \/>\n<\/code><\/p>\n<h2>5. Changing the Language of the App<\/h2>\n<p>\n        Allow users to change the language of the app.<br \/>\n        To do this, provide a dropdown in the app settings page to select the language.\n    <\/p>\n<h3>5.1. Creating Language Selection UI<\/h3>\n<p><code><br \/>\n<![CDATA[\n        <ComboBox x:Name=\"LanguageComboBox\">\n            <ComboBoxItem Content=\"Korean\" Tag=\"ko\" \/>\n            <ComboBoxItem Content=\"English\" Tag=\"en\" \/>\n        <\/ComboBox>\n        ]]><br \/>\n<\/code><\/p>\n<h3>5.2. Updating the App UI with the Selected Language<\/h3>\n<p><code><br \/>\n<![CDATA[\n        private void LanguageComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)\n        {\n            var selectedLanguage = ((ComboBoxItem)LanguageComboBox.SelectedItem).Tag.ToString();\n            Application.Current.GlobalizationPreference = selectedLanguage;\n            \/\/ Add code to refresh UI\n        }\n        ]]><br \/>\n<\/code><\/p>\n<h2>6. Testing Multilingual Apps<\/h2>\n<p>\n        Testing multilingual apps is very important.<br \/>\n        You need to ensure that the app functions correctly in various language environments.<br \/>\n        Here are some testing methods:\n    <\/p>\n<ul>\n<li>Run the app in each language and check if the UI displays correctly.<\/li>\n<li>Ensure that all strings defined in the resource files are displayed appropriately.<\/li>\n<li>Verify that the language-changing feature works correctly.<\/li>\n<\/ul>\n<h2>7. Conclusion<\/h2>\n<p>\n        Utilizing the UWP framework makes it easy to develop multilingual support apps. By managing content tailored for each language through resource files,<br \/>\n        you can provide a better experience for users.<br \/>\n        We encourage you to take on the challenge of developing multilingual apps based on the topics covered in this course.\n    <\/p>\n<h2>8. References<\/h2>\n<ul>\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/uwp\/porting\/resources-in-windows-apps\">Managing Resources in UWP Apps<\/a><\/li>\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/uwp\/globalizing\/globalization-in-windows-apps\">UWP Globalization Guide<\/a><\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>UWP (Universal Windows Platform) is an application platform provided by Microsoft that allows you to create apps that can run on various Windows devices. Creating multilingual versions of apps is essential to reach global users. This course will explain how to create multilingual apps in UWP in detail. 1. The Necessity of Multilingual Apps In &hellip; <a href=\"https:\/\/atmokpo.com\/w\/37587\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;UWP Development, Creating Multilingual Version Apps&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[115],"tags":[],"class_list":["post-37587","post","type-post","status-publish","format-standard","hentry","category-uwp-programming"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>UWP Development, Creating Multilingual Version Apps - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/37587\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"UWP Development, Creating Multilingual Version Apps - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"UWP (Universal Windows Platform) is an application platform provided by Microsoft that allows you to create apps that can run on various Windows devices. Creating multilingual versions of apps is essential to reach global users. This course will explain how to create multilingual apps in UWP in detail. 1. The Necessity of Multilingual Apps In &hellip; \ub354 \ubcf4\uae30 &quot;UWP Development, Creating Multilingual Version Apps&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/37587\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T09:58:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-01T11:02:07+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/37587\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/37587\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"UWP Development, Creating Multilingual Version Apps\",\"datePublished\":\"2024-11-01T09:58:45+00:00\",\"dateModified\":\"2024-11-01T11:02:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/37587\/\"},\"wordCount\":475,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"UWP Programming\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/37587\/\",\"url\":\"https:\/\/atmokpo.com\/w\/37587\/\",\"name\":\"UWP Development, Creating Multilingual Version Apps - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T09:58:45+00:00\",\"dateModified\":\"2024-11-01T11:02:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/37587\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/37587\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/37587\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"UWP Development, Creating Multilingual Version Apps\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"UWP Development, Creating Multilingual Version Apps - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/37587\/","og_locale":"ko_KR","og_type":"article","og_title":"UWP Development, Creating Multilingual Version Apps - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"UWP (Universal Windows Platform) is an application platform provided by Microsoft that allows you to create apps that can run on various Windows devices. Creating multilingual versions of apps is essential to reach global users. This course will explain how to create multilingual apps in UWP in detail. 1. The Necessity of Multilingual Apps In &hellip; \ub354 \ubcf4\uae30 \"UWP Development, Creating Multilingual Version Apps\"","og_url":"https:\/\/atmokpo.com\/w\/37587\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T09:58:45+00:00","article_modified_time":"2024-11-01T11:02:07+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"2\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/37587\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/37587\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"UWP Development, Creating Multilingual Version Apps","datePublished":"2024-11-01T09:58:45+00:00","dateModified":"2024-11-01T11:02:07+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/37587\/"},"wordCount":475,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["UWP Programming"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/37587\/","url":"https:\/\/atmokpo.com\/w\/37587\/","name":"UWP Development, Creating Multilingual Version Apps - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T09:58:45+00:00","dateModified":"2024-11-01T11:02:07+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/37587\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/37587\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/37587\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"UWP Development, Creating Multilingual Version Apps"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/37587","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=37587"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/37587\/revisions"}],"predecessor-version":[{"id":37588,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/37587\/revisions\/37588"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=37587"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=37587"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=37587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}