Affichage des articles dont le libellé est Install. Afficher tous les articles
Affichage des articles dont le libellé est Install. Afficher tous les articles

samedi 12 novembre 2016

How to Install WordPress in Other Languages



Do you want to use WordPress in other languages? WordPress is fully translated into over 65 languages and can be used in your native language. In this article, we will show you how to install WordPress in other languages.


Installing and using WordPress in other languages


Since this is a comprehensive step by step tutorial, feel free to use the navigation below to get to the appropriate section.



Getting Started with WordPress in Other Languages


In order to start a blog, the first thing you will need is to get WordPress hosting.


We recommend using Bluehost. They are one of the largest WordPress hosting providers in the world. They are also an officially recommended WordPress hosting provider.


After signing up with a WordPress host, the next step is to install WordPress. We have a complete step by step tutorial on how to install WordPress properly.


WordPress in German


Choosing a Language During WordPress Installation


WordPress 4.0 came with the new and improved internationalization support. Now users can choose a language for their WordPress website during the installation.


WordPress allows you to select language during installation


This is particularly useful if you need installation instructions to be in your local language. However, if you didn’t select the language during your WordPress install process, then you can change it any time under WordPress settings.


Changing Language in WordPress


WordPress makes it super-easy to change the language on your website. Simply go to Settings » General in your WordPress dashboard, and scroll down to the bottom of the page. There you will see the option to select site language.


Installing and changing language in WordPress settings


While WordPress has translations for over 162 languages, you will be only able to see languages that are fully translated (62).


If you do not see your language in the list, this does not mean that it is not available or that you can not use it.


We will show you how to manually install language packs in WordPress.


Manually Installing WordPress Translation Files For Other Languages


WordPress uses a gettext system for translations (localization and internationalization). Volunteer users from around the world use a main .pot template file to translate WordPress in their languages. This results into two files for each language. Portable Object format file with .po extension, and Machine Object file with .mo extension. You will need a .mo file for your language.


Go to the WordPress translation teams page to see if there is a WordPress translation available for your language.


Finding your language files on WordPress Translators website


Next, click on the percentage value to see the status of the translation progress in your language and then click on current WordPress version.


You will now reach GlotPress, which is a web based app used by WordPress team to manage and translate WordPress projects.


Once there, you need to scroll down to the bottom until you see the export section. In the dropdown, select Machine Object Message Catalog (.mo) and then click on Export link.


Exporting translations


Repeat the process above and select Portable Object Message Catalog (.po) and then click on the Export link.


After downloading and unzipping the language pack on your computer, you will need to connect to your website using an FTP client. Once connected, upload the language files to /wp-content/languages folder.


After you’re done uploading the file, return to the WordPress admin area. Go to Settings » General page and scroll down to site language option. You can now select the language you just uploaded because it will appear under installed languages.


Installed languages


Using an English Admin Interface in Multilingual WordPress


Sometimes you may want to use WordPress in a different language while keeping the admin interface in English.


This is particularly helpful if you have admins who are not familiar with other installed languages or you give access to developers.


You will need to install and activate the English WordPress Admin plugin. For more details, see our step by step guide on how to install a WordPress plugin.


Upon activation, the plugin will add a language switcher in the WordPress admin bar. Each user can simply take the mouse over to the language switcher and select the admin interface language.


Switch WordPress admin interface to English


For more detailed instructions, take a look at our guide on how to use English WordPress admin on Multilingual site.


Creating a Multilingual WordPress Website


WordPress can be used in different languages but creating content in multiple languages is not easily manageable by default.


Luckily, there are several plugins that allow you to easily create and manage multilingual WordPress sites. These plugins allow you to create content in multiple languages and making it easier for your website visitors to switch languages.


We recommend using WPML (WordPress Multi Language) plugin. This paid plugin is used by thousands of websites from all over the world to create user friendly multilingual websites with WordPress.


Creating multilingual content in WordPress with WPML


See our guide on how to create a multilingual WordPress site with WPML for detailed instructions.


If you are looking for a free solution, then you can checkout Polylang plugin. Take a look at our guide on creating multilingual WordPress site with Polylang.


Help Translate WordPress in Your Language


If you did not find an available translation for WordPress in your language, then perhaps you can help create one.


WordPress is an open source software that is completely volunteer driven. See: Why is WordPress free and how does it make money?


This means that all available translations that you see right now are created by volunteer users from around the world (just like you). Check out Translating WordPress website for more information on how you can contribute.


We hope that this article helped you install WordPress in other languages. You may also want to take a look at our list of 24 Must Have WordPress plugins for all websites.


If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.


The post How to Install WordPress in Other Languages appeared first on WPBeginner.







Blogger Tutorial (5/6): How to Install a Custom Blogger Template



alt="Blogger Tutorial (5/6): How to Install a Custom Blogger Template" src="http://whsr.webrevenueinc1.netdna-cdn.com/wp-content/uploads/2015/04/default-image-500x308_c.jpg" />

Hi once again. Remember not long ago we explored href="http://www.webhostingsecretrevealed.com/blog-hosting/blogger-tutorial-46-must-have-addons-for-your-blogger-blog/">some nice gadgets and addons to enhance your blog? Now we are going to go one step further – customizing your blog template!

In href="http://www.webhostingsecretrevealed.com/blog-hosting/blogger-tutorial-26-setup-your-first-blogspot-blog/">Tutorial 2/6, we used the Blogger.com’s standard template “Minima” and our blog looks like this now:

src="http://www.webhostingsecretrevealed.com/images/2010/0118-1.jpg" alt="" class="border" />

Yes yes, I can hear everyone complaining how dull it is already! But fear not, we are going to transform this blog into something much more interesting and wonderful at the end of this post. Before that, let’s look at how other people tend to customize their website/blog template. How about we begin with this site – WebHostingSecretRevealed.com?

Design of Web Hosting Secret Revealed

src="http://www.webhostingsecretrevealed.com/images/2010/0118-2.jpg" alt="" class="border" />

  1. Blog Title with Logo (should be easily interchangeable)
  2. Home button to let reader return to the main page
  3. Other useful links to be put at the top

Actually, this is a much adopted approach for the web nowadays. This layout gives the reader a totally neat and “user-friendly” feeling. You could see many more examples around:

Design of EnGadget

src="http://www.webhostingsecretrevealed.com/images/2010/0118-3.jpg" alt="" class="border" />

Site link: href="http://www.engadget.com/">http://www.engadget.com/

Design of CNN

src="http://www.webhostingsecretrevealed.com/images/2010/0118-4.jpg" alt="" class="border" />

Site link: href="http://politicalticker.blogs.cnn.com/">http://politicalticker.blogs.cnn.com/

Getting into action: Installing K2

We are going to use this approach to customize our blog. To begin, let’s head over href="http://www.eblogtemplates.com/k2/">here to have a look at a very popular blog template called href="http://www.eblogtemplates.com/k2/">K2. This is what we want! Customizable title and background picture with tabs underneath it, awesome. Now download the template:

src="http://www.webhostingsecretrevealed.com/images/2010/0118-5.jpg" alt="" class="border" />

The file downloaded is “k2-blogger.xml”.

Now, from your Dashboard, you’ll need to get to Layout>Edit HTML. Before we begin any modification to your blog, let’s be on the safe side and backup your current template, haha! Just in case any “unfortunate” events occur, at least we could revert back to the old one.

src="http://www.webhostingsecretrevealed.com/images/2010/0118-6.jpg" alt="" class="border" />

  1. Backup a copy of your current template (the file would be “template-somenumbers.xml”)
  2. Choose the file “k2-blogger.xml” that you’ve downloaded just now
  3. Upload the new template to the system

OMG!!! Your blog just magically transformed into a beauty!

src="http://www.webhostingsecretrevealed.com/images/2010/0118-7.jpg" alt="" class="border" />

Still, this is not perfect yet. The downloaded template consists of some tabs and links that we will not require for our blog. Hence, some minor modifications are still needed. We could even change the title background to something we fancy. Just follow the below tips to make everything go your way. :)

In Edit HTML page, tick the Expand Widget Templates checkbox, and be in the Edit Template column to do this:

src="http://www.webhostingsecretrevealed.com/images/2010/0118-8.jpg" alt="" class="border" />

Change the highlighted link to the link of the title background image you would like to use.

src="http://www.webhostingsecretrevealed.com/images/2010/0118-9.jpg" alt="" class="border" />

Edit these codes to change the tabs to the links that you’d like to display.

Tada! Have a look at the href="http://equantravels.blogspot.com/">customized blog now and compare it to the previous layout. Wonderful isn’t it?

To experiment with a variety of different templates, give these links a try:

type="disc">
  • href="http://www.eblogtemplates.com/templates/blogger-templates/">Eblog Templates
  • href="http://www.chethstudios.net/2009/01/roundup-of-best-blogger-templates.html">Cheth Studios
  • href="http://www.mintblogger.com/2009/01/25-best-magazine-style-blogger.html">Mint Blogger
  • In the next and final installment of this Blogger Tutorial, we’ll be learning how to use some analytical tools/statistic counters to analyze and understand where our blog readers come from, what they are interested in, and how all these data could help you improve your blog contents and increase your readers. Till then, adios!

    About the author

    id="floatright">src="http://www.webhostingsecretrevealed.com/images/2009/0824-5.jpg" alt="Blogger Signup" />

    E-quan graduated from Technological University of Malaysia as an Electrical and Electronics Engineer.

    He is now attached with an MNC specializing in power and automation technologies. In his blog (href="http://confirmcekap.blogspot.com">Confirm Cekap), he describes himself as a full-time procrastinator although in reality, he is “not”. He likes 80’s music especially Cantonese pop songs. He plays the href="http://en.wikipedia.org/wiki/Electone">Electone and wishes to own a grand piano (amongst the many things he would like to own) soon.

    *Side Note: This is the fifth article of E-quan’s Blogger Tutorial series. You can read the first four articles href="http://www.webhostingsecretrevealed.com/blog-hosting/blogger-tutorial16-introduction-getting-started/">here, href="http://www.webhostingsecretrevealed.com/blog-hosting/blogger-tutorial-26-setup-your-first-blogspot-blog/">here, href="http://www.webhostingsecretrevealed.com/blog-hosting/blogger-tutorial-36-writing-your-first-post/">here, and href="http://www.webhostingsecretrevealed.com/blog-hosting/blogger-tutorial-46-must-have-addons-for-your-blogger-blog/">here. Also, if you are interested to write for us, read href="http://www.webhostingsecretrevealed.com/guest-posting-at-w-h-s-r/">how to guest post at W.H.S.R..


    Page 29 – Web Hosting Secret Revealed




    WordPress How-To: Install Multiple WP Blogs With One Single Database



    alt="WordPress How-To: Install Multiple WP Blogs With One Single Database" src="http://whsr.webrevenueinc1.netdna-cdn.com/wp-content/uploads/2013/01/web-server-data-500x202_c.jpg" />

    As an open source content management system, WordPress often finds itself installed on href="http://www.webhostingsecretrevealed.net/hosting-review/ipage/">lower-cost, href="http://www.webhostingsecretrevealed.net/hosting-review/webhostinghub/">budget hosting plans which permit clients to have limited number MySQL or PostgreSQL database per account. This is no problem for those users who plan to only host just one or two WordPress blog, but can be a significant road block for those WordPress users who aspire to host their friends, family members, or a thriving community of independent bloggers.

    Luckily, WordPress offers a number of ways to permit multiple installations of the software within just one database, saving users both a significant usability headache and the higher cost that comes from seeking a hosting plan which supports multiple MySQL databases.

    The road to enabling multiple installations in a single WordPress database involves extensive editing to the software’s site-wide configuration file for many users. WordPress supports hosting multiple blogs with one installation of the software, or installing multiple instances of the software into one database. Those who choose to do this will need to be familiar with the configuration PHP file, their .htaccess file, and other server settings which are determined remotely by their current web host. Those who are comfortable knowing and modifying these settings are urged to complete this process, as it will likely be simple and take just a few minutes from start to finish.

    Step 1: Locating and Changing Settings in the WP-Config.php System File

    class="border" alt="Locating and Modifying WP Config" src="http://www.webhostingsecretrevealed.net/images/2012/0418-1.jpg" width="750" />

    Every WordPress installation relies on “wp-config.php” to control database usernames, passwords, and locations, as well as settings relating to actual software features and user information. This file is rarely modified, except for in the first steps of a typical installation, and many WordPress developers and novice users may not be sure where to locate the file or which edits to make. For clarification, this configuration file lies in the root directory of every WordPress installation. This will typically be the “public_html” folder for a primary installation, and the base of a subfolder for each subsequent install of the WordPress software.

    Once the file is located, it can be edited using an FTP client’s built in file and text editor. Doing this process directly on the server ensures that all edits are made to the remote file and saved directly, eliminating potential data loss and confusion between different versions of the configuration file. When the file is opened, there are a few settings that need to be changed when installing the WordPress software multiple times using the same database.

    We will need to href="http://codex.wordpress.org/Editing_wp-config.php" target="_blank">configure our “wp-config.php” file in order to customize our WordPress installation. First and foremost, the actual database information must be entered. If this is the first (and primary) installation, the database name, username, and password can be both defined and discovered using the server’s control panel. Both the cPanel and Plesk Panel software have a specific database configuration area that displays this information to users upon request. Fill in all information accurately, as failure to connect to the database will result in a failed installation overall.

    Step 2: Changing the Structure of the WordPress Database

    class="border" alt="Customizing WP Database" src="http://www.webhostingsecretrevealed.net/images/2012/0418-2.jpg" width="750" />

    Every WordPress download comes with a default configuration file which designates a “wp_” prefix to the entire installation. This prefix will be added on to every table which is created by the installer and is designed to separate the WordPress tables from other applications residing in the same database. Similarly, this prefix can be changed in order to separate different WordPress installations from each other. Changing the database prefix is perhaps the most central step to ensuring that WordPress installations can function alongside each other in the same database without overwriting each others’ data, granting the wrong user permissions, or publishing the wrong content.

    What to look for in wp-config.php?

    In the still-open “wp-config.php” configuration file for the WordPress installation in question, locate the line which determines the database prefix which will be used. It almost always looks like the following example:

    $table_prefix = ‘wp_’;

    As can be seen, the WordPress developers have loaded the file with the default “wp_” prefix. This can be used for the first or primary WordPress blog installed to a server, but it cannot be used for any secondary installation. Using the same database for multiple blogs will lead to data loss, erroneous content, and all kinds of user permission problems that could enable malicious activity between blogs.

    Change this prefix to almost anything else, so long as it is all lowercase and contains no spaces or punctuation marks. The “_” underscore character is not a requirement, as periods or hyphens can also be used. However, be aware that the underscore character is considered the standard way of separating a prefix from a table name, and it’s the easiest to use when scanning database records for certain iterations or cells.

    Step 3: Proceed with Installation

    If all you wish to do is simply install multiple WordPress blogs into separate databases with entirely separate groups of users and administrators, the process is largely complete. With the correct database information placed into the file, and the proper table prefix in place of the default WordPress-generated option, everything will likely go off without a hitch. However, advanced users might be interested to know that installing multiple WordPress blogs into the same database enables a unique kind of data sharing. Because user tables are all placed into the same database, WordPress can actually be instructed to use the same set of users between multiple blogs; this can be done on a per-installation basis, as well, so only the right users are given access to multiple points of entry and content publication.

    For those advanced users who wish to create a site-wide user list that can publish content across multiple blogs, this edit is relatively straightforward to make and must be done at the beginning of the installation process before the actual installation page has been loaded. It’s easy to do, and the process is presented in the next step for those who are so inclined to give it a go.

    Step 4: Sharing Users and User Meta Information Among Multiple Same-Database Installations

    id="right">

    An important consideration to be made when installing many WordPress iterations into just one database is whether or not the users of each website will need to login to a different website within the same domain name’s purview. This can be especially true for href="http://wphacks.com/best-magazine-style-wordpress-themes/" target="_blank">“magazine-style” sites which categorize their content into subfolders and subdomains, with each content creation department having their own WordPress installation and content creation portal. Having a different user account for all users on every blog can be time-consuming and it’s largely an outdated practice.

    The “wp-config.php” file can be amended to instruct a WordPress installation to place all data within its prefixed tables, but to pull user information from a differently-prefixed table. This means the primary blog’s user list could potentially because the user list of all blogs installed into subfolders across a website. Here’s how it’s done.

    define(‘CUSTOM_USER_TABLE’, $table_prefix.’global_users’);
    define(‘CUSTOM_USER_META_TABLE’, $table_prefix.’global_usermeta’);

    These two lines must be added to the “wp-config.php” file before the WordPress software is installed. Notice that the tables utilized for user information are prefixed with “global.” This allows both the primary installation and all secondary installations to access the same, universal tables full of user information. It gives no specific WordPress installation control over the user databases, as each WordPress installation remotely accesses that information via the “global” tables.

    The two lines of code above could be modified to be named otherwise, including using the standard “wp_users” and “wp_usermeta” tables for those blogs which will simply access information already determined by the site’s primary WordPress installation. Developers should modify these lines intelligently and at their own risk, and remember to do so before installation as it’s exceedingly complex to change the user tables after an install has been completed.

    Installing Side-by-Side WordPress Installations is Largely an Outdated Practice

    While WordPress will likely never drop support for custom MySQL table prefixes and multiple installations of the software in the same database, the company’s developers have been hard at work on creating a solution which can perform all of the above tasks on an automated, on-the-fly basis. This means being able to create multiple WordPress blogs by using the standard WordPress Dashboard interface, largely eschewing the “wp-congif.php” file edits and database trickery that is used to share user information among separate installations. WordPress provides a showcase of many blogs which use this feature in its href="http://wordpress.org/showcase/flavor/wordpress-ms/" target="_blank">MultiSite Showcase as a demonstration of just how functional, open-ended, and easy a Network is to create and maintain.

    The feature is included in href="http://wordpress.org/news/2010/06/thelonious/" target="_blank">WordPress 3.0 and higher, and it’s known as “WordPress Networks.” The company had previously developed the feature as an entirely separate version of WordPress, known as “WordPress MU,” but made the decision to integrate the two during the release of its most recent software version. The feature, while fully functional and quite robust, is not enabled by default. Users will still need to work a little PHP magic within the site’s configuration file in order to be able to access these new and innovative features.

    Instead of modifying the database prefix set out in the “wp-congfig.php” file, users will instead bypass that setting and define an entirely new line of code. This line of code instructs the WordPress Dashboard to enable the multisite, or WordPress Networks, configuration options and setup tools. The line to be pasted into the configuration file is this one:

    define(‘WP_ALLOW_MULTISITE’, true);

    It’s pretty simple, and saving the file will immediately allow the WordPress Dashboard to show the setup and configuration panel within its interface. That’s exact where the user should head next, as the Dashboard is the central feature of WordPress Networks setup.

    Once in the Dashboard, click the “Administration” heading in the sidebar and then click “Tools.” Beneath this, a new option named “Network Setup” will appear, and it should be clicked. WordPress will determine whether new blogs should be installed as subfolders or subdomains, and it will ask for a defined directory where it should place blog media uploads (pictures, movies, audio files, and more). With those settings defined, it will get to work and define new database tables, cells, and users. The process may take a few moments.

    After the initial configuration has been completed, the site administrator will be presented with a page that instructs them to configure their “wp-config.php” and “.htaccess” files further. These changes will initialize the media upload directory, make essential changes to the way permalinks work for multiple WordPress installations, and enable more of the special WordPress Networks features that set this type of installation apart from standard WordPress versions.

    The best part about using this feature is probably the minimal impact it has on the site’s database. Rather than burdening the database with a long list of tables and cells, it installs most of the new information into an existing database structure that doesn’t need to be modified at all. The few extra tables and cells it does install are minimal and efficient, meaning site load times will not suffer as a result of the installation. That cannot be said for databases which play host to many side-by-side WordPress installations which are installed the “old-fashioned way.”

    A Note of Caution: Always Be Careful with the MySQL Database

    For the most part, there are very few risks associated with installing WordPress to a database in multiple instances. But, as with any change to the site’s database, always have a backup on hand and be ready to restore your data with it. Modifying the database and placing tables side-by-side has been known to occasionally cause incidental data loss which can only be recovered with a backup. Furthermore, accidents do occur and people have been known to forget the essential step of modifying the database prefix. This results in a complete loss of pages, posts, and users.

    With the right precautions in place, and careful attention to detail, it is entirely possible to run multiple WordPress blogs from within the same database. Both the old method, as well as the new WordPress Networks feature, can create advanced blog setups that enable robust levels of content, shared user access, and easier usage of the site’s resources than many competing content management solutions would allow for.

    Follow Up Reading

    This post is part of my WordPress How-To Series. You might also want to check out other popular post on this topic: title="Most Wanted WordPress Code Snippets" href="http://www.webhostingsecretrevealed.net/blog/web-design/25-handy-code-snippets-for-wordpress-developers/">25 Handy Code Snippets For WordPress Developers as well as title="Must Learn WordPress Tricks And Hacks" href="http://www.webhostingsecretrevealed.net/blog/blogging-tips/25-most-wanted-wordpress-tips-tricks-and-hacks/">Most Wanted WordPress Hacks, Tips, And Tricks.


    Page 24 – Web Hosting Secret Revealed