wordpress internationalization solution - wordpress

I have a request from a client to enable multiple language selection on his wordpress site. I have tried the http://www.qianqin.de/qtranslate/ and it is good but the problem is that the theme strings are not translated. And this plugin does not have an option for translating theme.
So what are my options for having something like www.mydomain.com/en www.mydomain.com/de www.mydomain.com/fr...?
Do I need to install multiple instances of wordpress to have that?
Or there is a plugin that can translate the theme strings in the same way as qtranslate does for text entries?
What are the best practices please?
Thank you

No, you do not want to have multiple instances of WordPress to handle that. Check WPML and CMSwithTMS. Former is the most advanced and commonly used multilingual publishing plugin for WordPress while latter is more suitable if your client is looking for a more complete workflow solution which uses a professional translation management system.

Related

Is there a way to change the language in WordPress without plugins?

I have a dynamic WordPress site , and I want to provide it in more than one language, I searched for a way to add the ability to change the language without plugins, and I did not find it.
Is there a way to make the site's language change when I add ?hl=en or ?hl=en in the link like this?
https://www.example.com/?hl=en
https://www.example.com/?hl=fr
using php
Thanks
No, there is not currently a way to accomplish this without plugins, other third-party tools, or significant custom development. It is outside the scope of the framework. However, is there any reason you don't want to use a plugin? There are many great options, many free. If you see the link below, those free options listed in my quote include a link to the plugins for easy access.
From the documentation:
WordPress does not support a bilingual or multilingual blog
out-of-the-box. There are however Plugins developed by the WordPress
community which will allow you to create a multilingual blog easily.
Creating a mulitlingual blog is basically installing WordPress in more
than one language and letting the Plugin switch between them. This
includes installing .mo languages files which most Plugins will
require you to do manually. See Installing WordPress in Your Language
for details.
The free WPGlobus, Polylang, qTranslate-X, xili-language or
Sublanguage plugins are installable on standalone WordPress sites. For
multisite WordPress (one website per language), you can try Multisite
Language Switcher, Zanto or Multilingual Press or purchase WPML.
Please follow the below step:
Log in to your WordPress dashboard and go to Settings>>General.
In the Site Language dropdown list, select the language you want to use.
Click Save Changes.

Best way to build a Wordpress Bi-lingual Site

I would like to have an English version of my Wordpress site (which is already up and running) and also a French version of the same site. However, I do not want to automatically translate everything with a generator but translate it myself into French. The problem is there is also a Woocommerce store on the site and that, along with all of it's elements, emails sent to customers, etc, will also have to be translated.
Does anyone have thoughts on the best way to approach doing this? Any advice will be greatly appreciated.
The must-have free plugin which will help you do the job is Polylang. Coupled with Polylang theme strings, you will be allowed to automatically detect strings in your wordpress installation you wish to translate. Polylang has great support that will help you easily configure language switcher on your website. You could also take a look at LoCo Translate, a very nice plugin which allows you to translate your wordpress installation.

How much can wordpress be customized? I want to create an Intranet portal but the plugins don't seem to be enough

I tried to use Wordpress plugins including Buddypress to create an intranet portal but it does not include the features that i am looking for. Are there any good free plugins for such purpose?
Start by defining all of the features you want your portal to have. Then search for plugins that offer some or all of them. You may need to use multiple plugins to achieve your goals. Since WordPress is written in PHP, you can create your own plugins and either modify existing templates or create your own templates from scratch. In short, the answer to your question: "How much can WordPress bu customized?", the answer is that it is fully customizable.

Translating Wordpress based on user language cookie

Currently have a wordpress installation. I've created .mo files with translations but dont want to use wp-config.php to change the language. I want the language to change for the front end (for things such as "posted by:" etc) based on cookie we are creating when the user switches their language. I can't seem to find any way to do this. Is there a hook somewhere in wordpress where we can show the translations based on user cookie?
Wordpress has already this functionality built in using the gettext utility., with a lot of plugins to facilitate the process for you .
One of the best is with no doubt the qTranslate plugin, which offers a lot of hooks and custom functions and operates in much the same way like you described. And it is free.

Best practices for displaying a webpage in different languages

I would like to deploy a webpage in different languages (German and English). As a backend solution I would use Wordpress running on a nginx/PHP/MySQL stack on Linux.
From various posts here I think that looking at the browser locale (the ACCEPT-LANGUAGE field in HTTP request) is a good first try for setting the correct language. Of course the user will be able to override this and this choice will be stored in a cookie.
So my questions is:
How would one implement that in wordpress? Would one have to deploy two separate wordpress installations one for each language or is there some plugin for it which I have not found yet.
You can use the plugin "WPML". Pretty sure that will do what you want.
#GorillaPatch,
See this question on WordPress Answers on how to add language support to your WordPress theme using the .mo and .po files.

Resources