{"id":154,"date":"2013-05-10T00:29:19","date_gmt":"2013-05-10T00:29:19","guid":{"rendered":"https:\/\/lionssharedigital.com\/?p=154"},"modified":"2020-09-17T04:51:36","modified_gmt":"2020-09-17T04:51:36","slug":"wordpress-multilingual-languages","status":"publish","type":"post","link":"https:\/\/lionssharedigital.com\/how-to\/wordpress-multilingual-languages\/","title":{"rendered":"How to setup WordPress to be Multilingual"},"content":{"rendered":"

WordPress is\u00a0Multilingual<\/strong><\/h2>\n

Basically, WordPress uses US English as a default language. But you should also be aware that the system has the capability to set and use any language you may prefer. WordPress has already been translated into various languages. Translation files, themes, and support features are thus available in different languages.<\/p>\n

To date, WordPress is available in up to 73 languages. You may check out those languages at https:\/\/codex.wordpress.org\/WordPress_in_Your_Language<\/a>. Many other languages can be possibly used aside from those in the list. You may check out the WordPress Language File Repository at https:\/\/i18n.svn.wordpress.org\/<\/a>. How to setup and install WordPress in any language? Here are the procedures.<\/p>\n

\"How<\/p>\n

Manual installation of language files<\/h2>\n

If WordPress is available in another language of your choice, you may download the specified \u2018.mo\u2019 file. Naming convention follows the ISO-639 language code plus the ISO-3166 country code. For example, the language code for Portuguese is \u2018pt.\u2019 A typical Portuguese file would be \u2018pt.mo.\u2019 If referring to the country, the code would be _PT. For Portuguese spoken in Brazil, the code will be \u2018pt_BR.mo.\u2019 The complete list of language codes are found at https:\/\/www.gnu.org\/savannah-checkouts\/gnu\/gettext\/manual\/gettext.html#Language-Codes<\/a> while country codes can be checked out at https:\/\/www.gnu.org\/savannah-checkouts\/gnu\/gettext\/manual\/gettext.html#Language-Codes<\/a>.<\/p>\n

To proceed, create a new folder using your Website server. It should be located in \u2018\/wp-content\u2019 or in \u2018\/wp-includes.\u2019 Name the directory \u2018\/languages.\u2019 You may then upload your .mo file into the \u2018\/languages\u2019 folder you just made. To customize or add more translations to be displayed on your screen, you have to download the \u2018.po\u2019 file that corresponds to your installed \u2018.mo\u2019 language.<\/p>\n

\"WordPress<\/p>\n

Single and multiple site installation<\/h2>\n

To install WordPress in another language for a single site, go to text editor and open \u2018wp-config.php.\u2019 Key in<\/p>\n

define (WPLANG\u2019,\u2019\u2019);<\/p>\n

You may edit the line according to .mo file you have downloaded. For example, for the Brazilian Portuguese file created earlier, you may add:<\/p>\n

Define (WPLANG\u2019, \u2018pt_BR\u2019);<\/p>\n

Save the file after adding the language code. You should then upload the new \u2018wp-config.php\u2019 file into your WordPress root directory. To test the result of your task, open a browser and check out your WordPress Website. The language you installed must already be displayed. If not, you may repeat the procedure and make sure you do it correctly.<\/p>\n

Having a network of Websites will not be a problem especially if you intend to assign a different language to each. Typically, WordPress language is set per blog. This can be easily set through doing modifications in the \u2018Site Language\u2019 option, which can be accessed by going to \u2018Settings\u2019 and then to its \u2018General\u2019 subpanel. You may set default language for all your sites through the \u2018Settings\u2019 panel under the \u2018Network Admin\u2019 link (Default Language).<\/p>\n

Take note that setting and installing language files should not be tedious and complicated. The process is as simple as the one you took on how to setup and install WordPress. If an error is done through any point in the procedure, WordPress is set to bring your site language back to English, which is the default language.<\/p>\n

 <\/p>\n

 <\/p>\n

 <\/p>\n","protected":false},"excerpt":{"rendered":"

WordPress is\u00a0Multilingual Basically, WordPress uses US English as a default language. But you should also be aware that the system has the capability to set and use any language you may prefer. WordPress has already been translated into various languages. Translation files, themes, and support features are thus available in…<\/p>\n","protected":false},"author":1,"featured_media":3354,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5,14],"tags":[38,42,55],"_links":{"self":[{"href":"https:\/\/lionssharedigital.com\/wp-json\/wp\/v2\/posts\/154"}],"collection":[{"href":"https:\/\/lionssharedigital.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lionssharedigital.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lionssharedigital.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lionssharedigital.com\/wp-json\/wp\/v2\/comments?post=154"}],"version-history":[{"count":0,"href":"https:\/\/lionssharedigital.com\/wp-json\/wp\/v2\/posts\/154\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lionssharedigital.com\/wp-json\/wp\/v2\/media\/3354"}],"wp:attachment":[{"href":"https:\/\/lionssharedigital.com\/wp-json\/wp\/v2\/media?parent=154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lionssharedigital.com\/wp-json\/wp\/v2\/categories?post=154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lionssharedigital.com\/wp-json\/wp\/v2\/tags?post=154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}