{"id":115,"date":"2012-07-06T11:27:17","date_gmt":"2012-07-06T09:27:17","guid":{"rendered":"https:\/\/wprealm.com\/?p=115"},"modified":"2012-07-06T11:27:17","modified_gmt":"2012-07-06T09:27:17","slug":"wordpress-in-your-audiences-language-why","status":"publish","type":"post","link":"http:\/\/wprealm.local\/wordpress-in-your-audiences-language-why\/","title":{"rendered":"WordPress in Your Audience’s Language: Why?"},"content":{"rendered":"

In today’s software, the default language is usually English, which in turn encourages people outside English speaking countries to start using that software as-is, even when localized versions exist. They simply stick with\u00a0the English\u00a0version, since they themselves have grown used to it and the localized version ends up feeling “strange” to them. It comes as no surprise that this applies to WordPress as well. Many site administrators, even though\u00a0English\u00a0is not their native language nor do they publish in English, still use the default, English version.<\/p>\n

However, a localized version of WordPress has a lot more than meets the eye, i.e. the translation of strings, such as local settings and formatting, a few of which I will present here:<\/p>\n

<\/p>\n

Beyond the strings<\/h3>\n

Language code for the browser<\/strong> \u2014 If you look at the HTML source of any WordPress page you’ll see that it specifies a language code for that page. This code also tells the browser, search engines and other readers that your content is written is this particular language. If the content of your page is in German why would you tell them that it is in English? Keep in mind that they cannot guess it<\/strong>.\u00a0How is this useful? Most moder browsers will activate the spell checker with dictionaries for the language specified. For instance, if you’re on a site in German any text you’ll type will be correctly validated against a German dictionary, to give you the proper suggestions.<\/p>\n

Date and time formats<\/strong>\u00a0\u2014\u00a0Is it 02\/29\/2012 or 29\/02\/2012, or even 29. \u0444\u0435\u0431\u0440\u0443\u0430\u0440 2012? Is it 9:15pm or 21:15? Different languages use different formats for dates and times<\/strong> and localized versions of WordPress fully support that (keep in mind that your theme might hardcode some “untranslatable” formats).<\/p>\n

Number formats<\/strong>\u00a0\u2014 Is it 1.987,06 or 1,987.06? WordPress generates many different numbers, such as number of posts, comments, an do on. Using the proper localized version will assure that those numbers are output as they should<\/strong>.<\/p>\n

Separators<\/strong>\u00a0\u2014\u00a0How does your language separate\u00a0list items? A comma or a space? Maybe both? Maybe nothing? What about the last two items in a list? \u00a0Does it use a comma before “or” or “and”?When WordPress outputs lists of items, such as of post tags, people that\u00a0commented, and so on. Again, a \u00a0localized will ensure the correct formatting of lists<\/strong>.<\/p>\n

Curly quotes,\u00a0apostrophes and dashes<\/strong>\u00a0\u2014\u00a0WordPress filters your posts, pages and comments with the\u00a0texturize function<\/a>, which applies formatting according to the rules of the English language. Quotation marks, for instance, \u00a0are converted to their \u00a0English form \u201c\u201d. Other languages, however, use different forms<\/a>, and translators can make it so that the format is applied according to the rules of your language<\/strong>.<\/p>\n

Timezones<\/strong>\u00a0\u2014 What time is now? Is it 10 or 9, or maybe 2? A localized version will automatically be installed in the correct timezone<\/strong> (which you can always change, if you need to).<\/p>\n

Quirks<\/strong>\u00a0\u2014 Some localized versions contain some\u00a0important, specific settings. For example, the Chinese version includes a fix for the counting of words on the post editing page, while the Serbian version improves and fixes post and page slugs.<\/p>\n

You’re not the typical visitor<\/h3>\n

After all, even though you might be fluent in English, doesn’t mean your visitors are as well. Even if you change some strings on your theme “by hand” (much like hacking core, this is a very, very bad practice), there is still a lot WordPress core or plugin output that will be shown to visitors in some situations<\/a>.<\/p>\n

Right, I get it. How do I move to the localized version?<\/h3>\n

There are several ways of doing this. The simplest is to edit your wp-config.php file<\/a>\u00a0and do “a reinstall”; just include the\u00a0language code<\/a> that you need, navigate to Upgrades<\/a>\u00a0on your dashboard, and choose to reinstall the localized version. This isn’t really a reinstallation actually, it’s more of an upgrade\u2014it will download the core WordPress files and overwrites old ones, this time including the files with all the strings in your language. As usual, you should do a backup of your site before upgrading.<\/p>\n

You could also upload the language files to your server, after editing wp-config.php<\/code>. You’d just need to download the relevant localized WordPress package and then upload the wp-content\/languages<\/code> folder to the appropriate directory on your server.<\/p>\n

But I really, really want my dashboard in English!<\/h3>\n

If you’re used to English on your dashboard, \u00a0you can still have it while serving your visitors a different language. One way to do it would be to install the WP Native Dashboard<\/a>\u00a0plugin, which allows registered users to choose which language they want to see when they access their dashboards.<\/p>\n

Developers & translators are working for you, after all<\/h3>\n

WordPress developers invest a lot of time and effort into making WordPress more suitable for languages other than English. Translators spend countless hours in translating the thousands of strings in WordPress. Using a version localized to your language is an excellent way of showing your appreciation and of encouraging the propagation of your language.<\/p>\n","protected":false},"excerpt":{"rendered":"

In today’s software, the default language is usually English, which in turn encourages people outside English speaking countries to start using that software as-is, even when localized versions exist. They simply stick with\u00a0the English\u00a0version, since they themselves have grown used to it and the localized version ends up feeling “strange” to them. It comes as […]<\/p>\n","protected":false},"author":24,"featured_media":142,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[14],"tags":[103,140],"people":[],"company":[],"events":[],"acf":[],"yoast_head":"\nWordPress in Your Audience's Language: Why? - WP Realm<\/title>\n<meta name=\"description\" content=\"Our very first guest author, Milan Dini\u0107, argues in favor of not just installing WordPress in English, and tend to your audience's language.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wprealm.com\/wordpress-in-your-audiences-language-why\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WordPress in Your Audience's Language: Why?\" \/>\n<meta property=\"og:description\" content=\"Our very first guest author, Milan Dini\u0107, argues in favor of not just installing WordPress in English, and tend to your audience's language.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wprealm.com\/wordpress-in-your-audiences-language-why\/\" \/>\n<meta property=\"og:site_name\" content=\"WP Realm\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/wprealm\" \/>\n<meta property=\"article:published_time\" content=\"2012-07-06T09:27:17+00:00\" \/>\n<meta name=\"author\" content=\"Milan Dini\u010d\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@wprealm\" \/>\n<meta name=\"twitter:site\" content=\"@wprealm\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Milan Dini\u010d\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wprealm.com\/wordpress-in-your-audiences-language-why\/\",\"url\":\"https:\/\/wprealm.com\/wordpress-in-your-audiences-language-why\/\",\"name\":\"WordPress in Your Audience's Language: Why? - WP Realm\",\"isPartOf\":{\"@id\":\"https:\/\/wprealm.com\/#website\"},\"datePublished\":\"2012-07-06T09:27:17+00:00\",\"dateModified\":\"2012-07-06T09:27:17+00:00\",\"author\":{\"@id\":\"https:\/\/wprealm.com\/#\/schema\/person\/640f61bf795a665c066904586d1a2937\"},\"description\":\"Our very first guest author, Milan Dini\u0107, argues in favor of not just installing WordPress in English, and tend to your audience's language.\",\"breadcrumb\":{\"@id\":\"https:\/\/wprealm.com\/wordpress-in-your-audiences-language-why\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wprealm.com\/wordpress-in-your-audiences-language-why\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wprealm.com\/wordpress-in-your-audiences-language-why\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/wprealm.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WordPress in Your Audience’s Language: Why?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wprealm.com\/#website\",\"url\":\"https:\/\/wprealm.com\/\",\"name\":\"WP Realm\",\"description\":\"WordPress news, community news, reviews and more from all over the world\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wprealm.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/wprealm.com\/#\/schema\/person\/640f61bf795a665c066904586d1a2937\",\"name\":\"Milan Dini\u010d\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wprealm.com\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/2.gravatar.com\/avatar\/5635d8b9af0ca5efef1b5ff7d20b73a9?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/2.gravatar.com\/avatar\/5635d8b9af0ca5efef1b5ff7d20b73a9?s=96&d=mm&r=g\",\"caption\":\"Milan Dini\u010d\"},\"url\":\"http:\/\/wprealm.local\/author\/milandinic\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"WordPress in Your Audience's Language: Why? - WP Realm","description":"Our very first guest author, Milan Dini\u0107, argues in favor of not just installing WordPress in English, and tend to your audience's language.","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:\/\/wprealm.com\/wordpress-in-your-audiences-language-why\/","og_locale":"en_US","og_type":"article","og_title":"WordPress in Your Audience's Language: Why?","og_description":"Our very first guest author, Milan Dini\u0107, argues in favor of not just installing WordPress in English, and tend to your audience's language.","og_url":"https:\/\/wprealm.com\/wordpress-in-your-audiences-language-why\/","og_site_name":"WP Realm","article_publisher":"https:\/\/www.facebook.com\/wprealm","article_published_time":"2012-07-06T09:27:17+00:00","author":"Milan Dini\u010d","twitter_card":"summary_large_image","twitter_creator":"@wprealm","twitter_site":"@wprealm","twitter_misc":{"Written by":"Milan Dini\u010d","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wprealm.com\/wordpress-in-your-audiences-language-why\/","url":"https:\/\/wprealm.com\/wordpress-in-your-audiences-language-why\/","name":"WordPress in Your Audience's Language: Why? - WP Realm","isPartOf":{"@id":"https:\/\/wprealm.com\/#website"},"datePublished":"2012-07-06T09:27:17+00:00","dateModified":"2012-07-06T09:27:17+00:00","author":{"@id":"https:\/\/wprealm.com\/#\/schema\/person\/640f61bf795a665c066904586d1a2937"},"description":"Our very first guest author, Milan Dini\u0107, argues in favor of not just installing WordPress in English, and tend to your audience's language.","breadcrumb":{"@id":"https:\/\/wprealm.com\/wordpress-in-your-audiences-language-why\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wprealm.com\/wordpress-in-your-audiences-language-why\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wprealm.com\/wordpress-in-your-audiences-language-why\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wprealm.com\/"},{"@type":"ListItem","position":2,"name":"WordPress in Your Audience’s Language: Why?"}]},{"@type":"WebSite","@id":"https:\/\/wprealm.com\/#website","url":"https:\/\/wprealm.com\/","name":"WP Realm","description":"WordPress news, community news, reviews and more from all over the world","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wprealm.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/wprealm.com\/#\/schema\/person\/640f61bf795a665c066904586d1a2937","name":"Milan Dini\u010d","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wprealm.com\/#\/schema\/person\/image\/","url":"http:\/\/2.gravatar.com\/avatar\/5635d8b9af0ca5efef1b5ff7d20b73a9?s=96&d=mm&r=g","contentUrl":"http:\/\/2.gravatar.com\/avatar\/5635d8b9af0ca5efef1b5ff7d20b73a9?s=96&d=mm&r=g","caption":"Milan Dini\u010d"},"url":"http:\/\/wprealm.local\/author\/milandinic\/"}]}},"_links":{"self":[{"href":"http:\/\/wprealm.local\/wp-json\/wp\/v2\/posts\/115"}],"collection":[{"href":"http:\/\/wprealm.local\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/wprealm.local\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/wprealm.local\/wp-json\/wp\/v2\/users\/24"}],"replies":[{"embeddable":true,"href":"http:\/\/wprealm.local\/wp-json\/wp\/v2\/comments?post=115"}],"version-history":[{"count":0,"href":"http:\/\/wprealm.local\/wp-json\/wp\/v2\/posts\/115\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/wprealm.local\/wp-json\/"}],"wp:attachment":[{"href":"http:\/\/wprealm.local\/wp-json\/wp\/v2\/media?parent=115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/wprealm.local\/wp-json\/wp\/v2\/categories?post=115"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/wprealm.local\/wp-json\/wp\/v2\/tags?post=115"},{"taxonomy":"people","embeddable":true,"href":"http:\/\/wprealm.local\/wp-json\/wp\/v2\/people?post=115"},{"taxonomy":"company","embeddable":true,"href":"http:\/\/wprealm.local\/wp-json\/wp\/v2\/company?post=115"},{"taxonomy":"events","embeddable":true,"href":"http:\/\/wprealm.local\/wp-json\/wp\/v2\/events?post=115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}