how to develop wordpress site in 2 languages?

Tell me please how to develop a WordPress site in 2 or more languages. I have tried some plugins (qTranslate plugin, ZdMultiLang plugin) but is not what i want.


You can localize themes and plugins quite easily, you need to read about internationalization (I18n). WordPress codex explains it pretty well:

Any HTML text in your theme files should be output with the i18n functions, this will make the string translatable. For example:

<p>Some text here</p>

should be:

<p><?php _e("Some text here", "textdomain"); ?></p>

You can later translate this exact string with a POT file, see here:

I can't stress how important it is to read the codex on internationalization - it can explain it better than I ever can.

Tags: Wordpress / Plugins

Similar questions

Best way to develop WordPress site filled with pages like this
I got designs for pages that all look pretty much like this: page mixed with editable text/photos and custom post types loops What is the best way to develop theme like this? Let's say client ic complete noob when it comes to HTML/CSS (and even WordPress, which he demands)
Develop or Plugin suggestion for Wordpress site
I need to create a WP site which will have a single membership. Each member will have its own page where the posts added by that user will be displayed. I know Wordpress comes with the default author and posts, but it does allow only premium members to add posts and paid registration/profile. Shall I develop a custom one or there is any available p...
What features are impossible to develop when developing a wordpress site
Is there anything that can be built using "code" but can't be built using Wordpress or no-code platforms?
I want to develop locally with Multisite, then migrate each site to separate remote WP installs
I use WordPress for the majority of my client work. I develop locally with MAMP and then move the sites to the remote server when its time to go live or show the client the progress. I just migrate the files via FTP and export/import the database with phpMyAdmin, tweak the url and wp-config.php settings, etc. This flow has been working fine, but la...
How to develop a community feature in the dashboard for multiauthor site
I run a Wordpress site that has more than 300 authors. Is it possible to create some type of community in the backend (dashboard)? Ideally, a space where the authors can discuss with each other in a thread type of system, with admin news and so on. The closest thing I could find was the Admin Microblog but by reading the description, it appears ver...
Best way to develop a new theme on a live site, with new content?
So I've worked with WP on many different occasions, but always either for a fresh install, or on a low-traffic live site with minor edits done in production. I'm going to be working on an overhaul of a site that is currently live. What I'm doing is not only creating a new theme, but also overhauling almost all of the content. I'm essentially creati...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.