{"id":84228,"date":"2021-08-30T09:00:26","date_gmt":"2021-08-30T03:30:26","guid":{"rendered":"https:\/\/techvidvan.com\/tutorials\/?p=84228"},"modified":"2021-08-30T09:00:26","modified_gmt":"2021-08-30T03:30:26","slug":"android-localization","status":"publish","type":"post","link":"https:\/\/techvidvan.com\/tutorials\/android-localization\/","title":{"rendered":"Android Localization"},"content":{"rendered":"<p>Android provides you with a feature to use applications and your device in your native languages. It supports a lot of native languages, and that\u2019s what makes it unique and popular among users. Now to make our app compatible with the user\u2019s selected device language, we need Android Localization. So, through this article, we will show you how you can provide language support to your applications and target a broad group of users.<\/p>\n<h3>Localization in Android<\/h3>\n<p>As we know, we have widespread users of android, distributed across various regions and various countries. Providing localization in your app helps your app adapt to the particular region and display content in its local language. Instead of developing the same app separately for each region, we can provide localization.<\/p>\n<p>In order to set up localization in your application, you need to do resource switching. Resource Switching means switching among the resources that are specific to that region. The resources may include text, style, date, time, sounds, or graphical stuff. That\u2019s why it\u2019s always insisted to separate these resources as much as possible from the core functionality.<\/p>\n<p>For example, In a TextView, you may provide a text as \u201cWelcome to my App.\u201dSince you didn\u2019t define it in your <strong>res&#8212;&gt;values&#8212;-&gt;strings.xml,<\/strong> it will lead to a failure of resource switching.<\/p>\n<p>The text is not defined and is directly kept in the text attribute. The guys who know French or the guys who only know Hindi will also see it as \u201cWelcome to my app.\u201d They won\u2019t see that converted in their language.<\/p>\n<p>To avoid such mistakes, you can always define your text values in the string.xml folder and then use the same resource to link your core functionalities.<\/p>\n<p>Now let\u2019s see an example of how you can show date and time in a specific format. Sometimes you may find people denoting a date as DD\/MM\/YYYY, and sometimes you even see it as MM\/DD\/YYYY. There are many such formats that you can use to display the current date. Depending on the locale, you can specify the form which you would require.<\/p>\n<p>For example, you can find below how we can display both date and time in the below format.<\/p>\n<p><strong>Code:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">val your_format = \u201cyyyy-MM-dd hh:mm:ss\u201d\nval your_locale = Locale.getDefault())\nval date_format = SimpleDateFormat(format, locale)\nLog.d(\u201cTechVidvan\u201d, date_format.format(Calendar.getInstance().time))\n<\/pre>\n<h3>Language Codes and Resource Switching<\/h3>\n<p>To enable resource switching, you need to create a value folder specific to each region where you think your app will be used. You need to have the values folder specific to the region, otherwise, you won\u2019t be able to switch languages.<\/p>\n<p>Below is a list of some commonly used value folders, along with the language they specify.<\/p>\n<table style=\"height: 1028px\" width=\"558\">\n<tbody>\n<tr>\n<td><b>Language<\/b><\/td>\n<td><b>Code<\/b><\/td>\n<td><b>Folder Name<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Arabic<\/span><\/td>\n<td><span style=\"font-weight: 400\">ar<\/span><\/td>\n<td><span style=\"font-weight: 400\">values-ar<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Bengali<\/span><\/td>\n<td><span style=\"font-weight: 400\">bn<\/span><\/td>\n<td><span style=\"font-weight: 400\">values-bn<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Hindi<\/span><\/td>\n<td><span style=\"font-weight: 400\">hi<\/span><\/td>\n<td><span style=\"font-weight: 400\">values-hi<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Telugu<\/span><\/td>\n<td><span style=\"font-weight: 400\">te<\/span><\/td>\n<td><span style=\"font-weight: 400\">values-te<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Punjabi<\/span><\/td>\n<td><span style=\"font-weight: 400\">pa<\/span><\/td>\n<td><span style=\"font-weight: 400\">values-pa<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Tibetan<\/span><\/td>\n<td><span style=\"font-weight: 400\">bo<\/span><\/td>\n<td><span style=\"font-weight: 400\">values-bo<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">French<\/span><\/td>\n<td><span style=\"font-weight: 400\">fr<\/span><\/td>\n<td><span style=\"font-weight: 400\">values-fr<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Japanese<\/span><\/td>\n<td><span style=\"font-weight: 400\">ja<\/span><\/td>\n<td><span style=\"font-weight: 400\">values-ja<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Bulgarian<\/span><\/td>\n<td><span style=\"font-weight: 400\">bg<\/span><\/td>\n<td><span style=\"font-weight: 400\">values-bg<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Chinese<\/span><\/td>\n<td><span style=\"font-weight: 400\">zh<\/span><\/td>\n<td><span style=\"font-weight: 400\">values-zh<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">German<\/span><\/td>\n<td><span style=\"font-weight: 400\">de<\/span><\/td>\n<td><span style=\"font-weight: 400\">values-de<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Implementation of Localization in Android<\/h3>\n<p>I hope we can make a small application that would make you comfortable with Localization in Android. Below are the steps that you can quickly implement the resource switching and localization if you follow.<\/p>\n<p><strong>1:<\/strong> Open your android studio and click on create a new project.<\/p>\n<p><strong>2:<\/strong> Select Empty Activity, provide application name and then select API level as 22.<\/p>\n<p><strong>3:<\/strong> As the first step, you need to create several values folders in your res directory corresponding to your target languages. For example, values-hi correspond to the Hindi language, whereas values-ja corresponds to Japanese.<\/p>\n<p>a. Right-click on your res directory and select new and then select Android Resource Directory. Now provide the values name as values-hi or values-ja depending on your need. We have mentioned above a list to guide you on the same.<\/p>\n<p>The below screen shows how you need to enter the name and proceed.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/Implementation_Part_1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-84356\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/Implementation_Part_1.png\" alt=\"Data Localization Implementation in Android\" width=\"1848\" height=\"1048\" \/><\/a><\/p>\n<p>b. Now similarly create some directories like values-fr, values-ja, values-te, and values-de. Now when you locate, you can\u2019t see these directories listed. So, what you need to do is go to <strong>res&#8212;&#8211;&gt;values&#8212;&#8212;&gt;strings.xml.<\/strong> After going there at the top, you can see the option to open the translations editor, as shown below.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/Implementation_Part_2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-84357\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/Implementation_Part_2.png\" alt=\"Data Localization\" width=\"1848\" height=\"1048\" \/><\/a><\/p>\n<p>Alternatively, if you don\u2019t get the option, you can locate it by clicking your strings.xml file located in the values directory and selecting the translations editor.<\/p>\n<p><strong>Step 4:<\/strong> Now, after you come to your translation editor, you can see a world icon at the top left corner. Just press it, and you can see the available list of countries and languages there. You can use this option if you feel it is hectic to create each value directory for each language individually.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/Implementation_Part_3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-84358\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/Implementation_Part_3.png\" alt=\"Android data localization implementation\" width=\"1848\" height=\"1048\" \/><\/a><\/p>\n<p>From here, you need to select the locations whose directory we created. After you are done selecting all the locales, your screen would appear something as follows.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/Implementation_Part_4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-84359\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/Implementation_Part_4.png\" alt=\"Android localization\" width=\"1848\" height=\"1048\" \/><\/a><\/p>\n<p>Since app_name is the only key, we have in strings.xml, so that is only appearing. You can notice that the text is not translated yet. Don\u2019t worry; in the next few steps, you will conquer that too.<\/p>\n<p><strong>5:<\/strong> We will add one more key in our strings.xml file with the key name as vidvan_message. Your strings.xml code would be as follows, and you can copy it and paste it there for easy reference.<\/p>\n<p><strong>Code: strings.xml<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&lt;resources&gt;\n    &lt;string name=\"app_name\"&gt;Tech Vidvan&lt;\/string&gt;\n    &lt;string name=\"vidvan_message\"&gt;Hello people welcome to your Locale.&lt;\/string&gt;\n&lt;\/resources&gt;\n<\/pre>\n<p><strong>6:<\/strong> Now go back to your translations editor. Don\u2019t worry if you are getting some errors in your strings.xml file; that will be removed after adding the translations. So to add translations, you need to copy the original text and use the link below to convert them into the language you require.<\/p>\n<p>https:\/\/translate.google.co.in\/<\/p>\n<p>For example, \u201chello\u201d in french is \u201cBonjour.\u201d<\/p>\n<p><strong>7:<\/strong> After converting each of them into their respective language, just paste them in their locale column something like below.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/Implementation_Part_5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-84360\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/Implementation_Part_5.png\" alt=\"android localization implementation\" width=\"1848\" height=\"1048\" \/><\/a><\/p>\n<p><strong>8:<\/strong> So this completes your resource switching part. In other words, now your app is ready to be operated in the above-defined locale.<\/p>\n<p><strong>9:<\/strong> Before running the app, we need to design the layout so that both the app name and the message appear nicely.<\/p>\n<p><strong>Code: activity_main.xml<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\n&lt;androidx.constraintlayout.widget.ConstraintLayout \n    xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"\n    xmlns:app=\"http:\/\/schemas.android.com\/apk\/res-auto\"\n    xmlns:tools=\"http:\/\/schemas.android.com\/tools\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    tools:context=\".MainActivity\"&gt;\n\n    &lt;TextView\n        android:id=\"@+id\/title\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:text=\"@string\/app_name\"\n        android:textStyle=\"bold\"\n        android:textSize=\"30sp\"\n        android:textColor=\"#3F51B5\"\n        app:layout_constraintVertical_bias=\".1\"\n        app:layout_constraintBottom_toBottomOf=\"parent\"\n        app:layout_constraintLeft_toLeftOf=\"parent\"\n        app:layout_constraintRight_toRightOf=\"parent\"\n        app:layout_constraintTop_toTopOf=\"parent\" \/&gt;\n    \n    &lt;TextView\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        android:text=\"@string\/vidvan_message\"\n        android:textSize=\"40sp\"\n        android:textColor=\"#009688\"\n        android:gravity=\"center\"\n        android:padding=\"20dp\"\n        app:layout_constraintVertical_bias=\".4\"\n        app:layout_constraintBottom_toBottomOf=\"parent\"\n        app:layout_constraintLeft_toLeftOf=\"parent\"\n        app:layout_constraintRight_toRightOf=\"parent\"\n        app:layout_constraintTop_toTopOf=\"parent\"\/&gt;\n\n&lt;\/androidx.constraintlayout.widget.ConstraintLayout&gt;\n<\/pre>\n<p>Now let\u2019s run our application and see what output we get.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/App_Output_1_default.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-84348\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/App_Output_1_default.jpg\" alt=\"Android Localization\" width=\"1080\" height=\"2280\" \/><\/a><\/p>\n<p>So here we can\u2019t see any change in my app language because, by default, my device language is English.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/App_Output_2_settings.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-84349\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/App_Output_2_settings.jpg\" alt=\"Language Translation in Android\" width=\"1080\" height=\"2280\" \/><\/a><\/p>\n<p>To see my app working and displaying the content in other languages, I will go to my Settings and change my default language to something else.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/App_Output_3_settings.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-84350\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/App_Output_3_settings.jpg\" alt=\"Localization in Android\" width=\"1080\" height=\"2280\" \/><\/a><\/p>\n<p>When language is Hindi<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/App_Output_4_hindi.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-84351\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/App_Output_4_hindi.jpg\" alt=\"Language in Android\" width=\"1080\" height=\"2280\" \/><\/a><\/p>\n<p>When language is Telugu<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/App_Output_5_telugu.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-84352\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/App_Output_5_telugu.jpg\" alt=\"Language translate in Android\" width=\"1080\" height=\"2280\" \/><\/a><\/p>\n<p>When language is French<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/App_Output_6_french.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-84353\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/App_Output_6_french.jpg\" alt=\"Language in Android\" width=\"1080\" height=\"2280\" \/><\/a><\/p>\n<p>When language is German<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/App_Output_7_german.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-84354\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/App_Output_7_german.jpg\" alt=\"Data Localization\" width=\"1080\" height=\"2280\" \/><\/a><\/p>\n<p>When language is Japanese<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/App_Output_8_japanese.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-84355\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/App_Output_8_japanese.jpg\" alt=\"Data Localization in ANdroid\" width=\"1080\" height=\"2280\" \/><\/a><\/p>\n<h3>Summary<\/h3>\n<p>So, through this article, we covered what localization is and how it benefits us in making our app available to several regions and users. We came across how we can use localization in our apps and how resource switching helps us. Finally, we saw an app implementation of localization where we showed every step.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Android provides you with a feature to use applications and your device in your native languages. It supports a lot of native languages, and that\u2019s what makes it unique and popular among users. Now&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":84346,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2791],"tags":[4155,4156],"class_list":["post-84228","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-android","tag-android-localization","tag-implementation-of-localization-in-android"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Android Localization - TechVidvan<\/title>\n<meta name=\"description\" content=\"Learn what is localization in Android, its implementation and how it benefits us in making our app available to several regions and users.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/techvidvan.com\/tutorials\/android-localization\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Android Localization - TechVidvan\" \/>\n<meta property=\"og:description\" content=\"Learn what is localization in Android, its implementation and how it benefits us in making our app available to several regions and users.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techvidvan.com\/tutorials\/android-localization\/\" \/>\n<meta property=\"og:site_name\" content=\"TechVidvan\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/TechVidvan\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-30T03:30:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/08\/Android-Localization-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"TechVidvan Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:site\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TechVidvan Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Android Localization - TechVidvan","description":"Learn what is localization in Android, its implementation and how it benefits us in making our app available to several regions and users.","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:\/\/techvidvan.com\/tutorials\/android-localization\/","og_locale":"en_US","og_type":"article","og_title":"Android Localization - TechVidvan","og_description":"Learn what is localization in Android, its implementation and how it benefits us in making our app available to several regions and users.","og_url":"https:\/\/techvidvan.com\/tutorials\/android-localization\/","og_site_name":"TechVidvan","article_publisher":"https:\/\/www.facebook.com\/TechVidvan\/","article_published_time":"2021-08-30T03:30:26+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/08\/Android-Localization-1.jpg","type":"image\/jpeg"}],"author":"TechVidvan Team","twitter_card":"summary_large_image","twitter_creator":"@vidvantech","twitter_site":"@vidvantech","twitter_misc":{"Written by":"TechVidvan Team","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/techvidvan.com\/tutorials\/android-localization\/#article","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/android-localization\/"},"author":{"name":"TechVidvan Team","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22"},"headline":"Android Localization","datePublished":"2021-08-30T03:30:26+00:00","mainEntityOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/android-localization\/"},"wordCount":1144,"commentCount":0,"publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/android-localization\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/08\/Android-Localization-1.jpg","keywords":["Android Localization","Implementation of Localization in Android"],"articleSection":["Android Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/techvidvan.com\/tutorials\/android-localization\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/techvidvan.com\/tutorials\/android-localization\/","url":"https:\/\/techvidvan.com\/tutorials\/android-localization\/","name":"Android Localization - TechVidvan","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/android-localization\/#primaryimage"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/android-localization\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/08\/Android-Localization-1.jpg","datePublished":"2021-08-30T03:30:26+00:00","description":"Learn what is localization in Android, its implementation and how it benefits us in making our app available to several regions and users.","breadcrumb":{"@id":"https:\/\/techvidvan.com\/tutorials\/android-localization\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techvidvan.com\/tutorials\/android-localization\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/android-localization\/#primaryimage","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/08\/Android-Localization-1.jpg","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/08\/Android-Localization-1.jpg","width":1200,"height":628,"caption":"Android Localization"},{"@type":"BreadcrumbList","@id":"https:\/\/techvidvan.com\/tutorials\/android-localization\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techvidvan.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Android Localization"}]},{"@type":"WebSite","@id":"https:\/\/techvidvan.com\/tutorials\/#website","url":"https:\/\/techvidvan.com\/tutorials\/","name":"TechVidvan Blogs","description":"","publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/techvidvan.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/techvidvan.com\/tutorials\/#organization","name":"TechVidvan","url":"https:\/\/techvidvan.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","width":200,"height":50,"caption":"TechVidvan"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/TechVidvan\/","https:\/\/x.com\/vidvantech"]},{"@type":"Person","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22","name":"TechVidvan Team","description":"The TechVidvan Team delivers practical, beginner-friendly tutorials on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our experts are here to help you upskill and excel in today\u2019s tech industry."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/84228","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/comments?post=84228"}],"version-history":[{"count":0,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/84228\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media\/84346"}],"wp:attachment":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media?parent=84228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/categories?post=84228"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/tags?post=84228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}