Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [multi-language]

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.

125 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7 votes
2 answers
9k views

why is translation not working on theme?

Background I am using the theme Rookie from Sportpress. I created a child theme. Translation files are existing, especially german in my case. Wordpress is set to german language. The Problem ...
André Kelling's user avatar
6 votes
1 answer
1k views

Post and Page Inheritance to subsites in a WordPress Network

I have to develop a multi-country, multi-lingual website. One country may have multiple languages. I have setup a WordPress Network and created subsites for each country like following. abc.com/ > ...
M-R's user avatar
  • 2,606
6 votes
1 answer
204 views

WP Multisite - multilanguage - swich to other language by click, but "same" content

I want to run a WP-multisite for 4 languages (in development), and did it so, 4 blogs, each one got the same content but in a different language, same structure, same pages, same postings, same images....
Orwell's user avatar
  • 71
3 votes
0 answers
34 views

How to have english digits in some posts with an rtl Wordpress theme

I have an RTL theme for Wordpress. When I want to have a post in which some digits should intentionally be in English, the theme tends to convert all the digits from English to Persian. Adding lang="...
developer's user avatar
  • 151
3 votes
0 answers
291 views

How make a multi language routes, with rewrite rules or rewrite endpoints?

I want to know a concept of making a multi language routing system for WP. That is the best practice, to make this routing system with add_rewrite_rules for pages post archive etc in part, or to use ...
user1147145's user avatar
2 votes
0 answers
248 views

How to reload wordpress textdomains at runtime

I'm currently using this to reload my theme and plugin textdomain in order to send e-mails (admin move, in admin language) in the user language. add_filter("theme_locale", array($this, "theme_locale")...
Rodrigo Butzke's user avatar
2 votes
1 answer
331 views

Popup Cookie Wordpress select language and section (Elementor)

I need to show a popup where the user can choose the language and which section to open (partners, customers, support) and that this choice is kept in the cookies so that the next time he returns that ...
Despotars's user avatar
  • 121
2 votes
0 answers
205 views

Multilanguage URLs

I am trying to achieve multilanguage behaviour for my website. I'm very close but not quite there and feel like I'm running in circles. That's why I decide to ask for your help. I'd like to use URLs ...
racanu's user avatar
  • 21
2 votes
0 answers
162 views

Changing html lang depending on author

I have a blog with where I post in English and my girlfriend in traditional Chinese. I have tried to add a script that changes the HTML Lang tag depending on if its me or her that is the post author. ...
Shinesun's user avatar
2 votes
1 answer
914 views

TinyMCE - Add button that changes direction of selected text

Ok, I am going to create website in Urdu(rtl) & English(ltr) language that contain paragraphs like this: <p style="direction:rtl">کیا حال ہے buddy? سب خیریت ہے؟</p> You can see that ...
John Doe's user avatar
  • 105
2 votes
0 answers
908 views

Wordpress multisite change language

I want to change site language through cookies. As I have multisite, so define('WPLANG') is not working in wp-config.php. So I added hook to filter "locale". But still not working... What to do ? p....
andys's user avatar
  • 306
1 vote
0 answers
285 views

Changing static text in a theme into variable content that also respects language. Easiest way

I bought a Theme which unfortunately has some static content, I managed to hide and remove some via editing and the custom css. But I have a text field above the navigation where it says "Work ...
Ozzy's user avatar
  • 11
1 vote
0 answers
487 views

What to write in the htaccess in order to detect browser language and point accordingly?

On short: I use Polylang plugin for my web but it's option to detect browser language won't work because I need to use cache in the whole site, including the homepage. I have a bilingual website (...
Ernest's user avatar
  • 53
1 vote
2 answers
4k views

Translate custom post type and taxonomy slug in URL?

I need help how to translate the custom post type and taxonomy when using multisite and multi-language. I am using subdirectory a /en /sv etc. Are using the plugin (Multisite Language Switcher), but ...
Andreeez's user avatar
1 vote
0 answers
130 views

How to force change Network site multi language subdirectory base URL?

I have enabled network site and created two sites. Then I enabled WPML plugin on both sites. 1) First one is for English and all LTR languages. This one is working fine because it's base URL is like ...
Iftikhar uddin's user avatar
1 vote
0 answers
199 views

Custom rewrite rules not working with WPML

I have custom rewrite rules for posts on a WordPress website. The website is in french and I just added WPML to make it available also in english. WPML is configured to use directories (/en) for ...
fdehanne's user avatar
  • 123
1 vote
0 answers
32 views

Form link throwing website to main language

So this theme (Listeo) I'm using it's not natively multilang, so support doesn't help on this and I had to make some customization in the code. Every time I'm on the second language (English), and I ...
dbcstrauss's user avatar
1 vote
0 answers
41 views

How to have multiple site (UI) languages?

I want my wordpress to have multiple UI languages while keeping my content, ie. posts, unchanged. If a user, who may not be an admin, whose Accept-Language HTTP header prefers German, my site returns ...
Gqqnbig's user avatar
  • 163
1 vote
0 answers
35 views

Is the Multi site functionality a viable option for Country and Language targeting?

I am working on an eCommerce website, which only has the TLD Extension .com at present. The website owner is keen on looking to expand the website, as to reach other Countries and Languages. Since ...
Craig's user avatar
  • 358
1 vote
0 answers
196 views

How to make a wordpress site multilingual by uploading a translated CSV file that has the traslations?

I have a website which is in french and i need the website to be read by my users in english too. How do i achieve that without making or creating entirely new pages with english translations. I have ...
pankaj7621's user avatar
1 vote
0 answers
29 views

Efficient way to handle translations with Multisite Wordpress installation

We inherited from a Wordpress multisite install to achieve localisation with more than five different languages. Thanks to the Multilingual Press, we have a reasonable setup where href lang are well ...
Benoit Patra's user avatar
1 vote
1 answer
1k views

WPML language switcher for custom rewrite rules

I am making custom rewrite rules for categories in a dual-language project (german as main, english as second language). The urls look like this example.com/fliegen > shows archive.php for category ...
kater louis's user avatar
1 vote
2 answers
376 views

How to use get_post_type_archive_link for a given language?

I try to use get_post_type_archive_link function to retrieve the archives url of a post type but I need to do so for a specific language. Is there a way to achieve this? Is it possible to set the ...
Yaron's user avatar
  • 255
1 vote
0 answers
17 views

Main Wordpress site with several flexible clones

I need to develop an english/spanish site. I found the Polylang plugin, which seems to do the job. But I also need to have several spanish mirrors with similar, yet unique content and this is where I ...
MauF's user avatar
  • 211
1 vote
1 answer
121 views

How can I setup a wordpress site with multi country & multi lingual support

We need to create a website for a large company that is present in 4 continents. Content, services and contact information for each region will be different. Moreover, each region may have the website ...
smoizs's user avatar
  • 111
1 vote
0 answers
16 views

can't change a few lines of text to another language

I created a wordpress website using another language then english. Everything seems good but there are few lines of text (like search bar, or quick view (I use woocommerce) that are still english. I ...
Batuhan K.'s user avatar
1 vote
0 answers
1k views

Force language in translate function

In WordPress, I can easily get the translated string with current language with $s = __('string', 'domain'); However, if I am currently in en, if I want to get the Japanese version of string, is it ...
Yoga's user avatar
  • 909
1 vote
1 answer
77 views

Specific content by country in multiple languages

In a project we need to have country specific FAQ-content for each country. As a twist the FAQ-content for each country has to be translated to the main language of the country and at least english, ...
John P's user avatar
  • 111
1 vote
0 answers
195 views

Multi-language site on different domains

I need to build a website, available in two languages, behind 2 different domains: language1site.com and language2site.com. They will both have the same content, but translated in both languages, ...
Borniet's user avatar
  • 135
1 vote
0 answers
32 views

Wordpress Multilinigual

I've got a wordpress website up and running, so lately I've tried making it multilinigual using all the avaibale plugins such as polylang, wp multilinigual, etc... So far all the main contents can be ...
Neophyte Polyhistor's user avatar
1 vote
0 answers
587 views

polylang + category/tag custom language link

under wordpress user can define url part for categories/tags, e.g., page.com/category/some-cat where category is user defined string part. Is there a way to define "category" (same goes for tags) for ...
Saulius S's user avatar
1 vote
0 answers
837 views

how to remove language selection option from wordpress?

I have installed one of theme and It shows Site Language selection option at admin panel. I would like to remove "available language option" and "Installed language option" Can anyone have idea how ...
Hiri Karavadra's user avatar
1 vote
1 answer
388 views

How WordPress is able to change locale without using setlocale

In my plugin I print out the current locales via $originalLocales = explode(";", setlocale(LC_ALL, 0)); var_export($originalLocales);die; Obviously the result is same as the WPLANGdefined. ...
Yoga's user avatar
  • 909
1 vote
0 answers
1k views

How to make a bilingual front-end post using the plugin WP User Frontend and Polylang or qTranslate?

I'm implementing a bilingual blog site (English and Japanese). It contains front-end user posting and user registration. So, I used WP User Frontend. For multilingual content, I tried qTranslate and ...
Sithu's user avatar
  • 109
1 vote
0 answers
103 views

How to split existing blog into Wordpress Multisites without breaking links?

I am going to split an existing Wordpress blog with a lot of posts in different languages into multisites which get all posts of one language each. The multisites will be available under different ...
danijar's user avatar
  • 179
1 vote
2 answers
983 views

Multiple languages menus problem

I'm trying to add language option to my website. I've coded my theme and I need to show the web in three different languages. I've got the little flags and I've managed to pass a php variable with the ...
Mark's user avatar
  • 11
1 vote
0 answers
331 views

Hook in to add new post link wp admin?

How can i customize the Add new post link or how can i add my custom parameter in add new post link like http://www.test.localhost/wp-admin/post-new.php looks like http://www.test/wp-admin/post-new....
M Khalid Junaid's user avatar
1 vote
1 answer
58 views

Moving from one test to multiple final environments

I'm working on a WordPress website in the following test environment URL: www.example.com/wordpress. Once the site is complete and everything is tested, I want to deploy to three live environments ...
wp-hooves's user avatar
0 votes
0 answers
8 views

Multilingual WordPress Website with multiple source languages

A very special request. I'm developing a multilingual network for a client using WordPress. I've tried many plugins for my use case, but none have met my needs. The key feature of this network is to ...
Martin Ivanov's user avatar
0 votes
0 answers
36 views

Is there a way to change the site title depending on the language?

I have a multi-lang website, that is based on bossa themes. I use PolyLang Plugin for the multi-lang. I want to change the website title depending on the language. Is there a way to achieve this? I ...
Adam Basha's user avatar
0 votes
0 answers
13 views

Merging multiple WP databases into one for a multilanguage site prevents access to language-specific WP administration

My (inherited) WordPress website is setup like this: example.com is the main version of the site en.example.com is the English language version of the site. The subdomain's root is pointed to a en ...
FiddlingAway's user avatar
0 votes
1 answer
48 views

Change homepage logo for each site multisite setup

I recently migrated our website to a multisite using sub-paths, and I was trying to change the logo on each webpage example.com/en and example.com/ja, but this is no longer possible, is there a way ...
logax's user avatar
  • 1
0 votes
0 answers
39 views

make my custom theme support polylang plugin

I created my own custom theme with wordpress and now I want to add english language to my site (defualt is persian rtl). for this I installed polylang. I create menu in wordpress like this: functuions....
Alipvd's user avatar
  • 3
0 votes
0 answers
21 views

How to translate to a language different than the current one?

I have a problem. Site in English, with serveral languages. Say I'm in an Italian page, but I want certain phrases to be translated in French, for example. Currently using standard .po files. I need ...
Luca Reghellin's user avatar
0 votes
0 answers
19 views

Making theme translation available crashes sidebar

I have added this snipped to enable possibility to translate a website: function florial_setup() { /* * Make theme available for translation. * Translations can be filed in the ...
Flagmans's user avatar
0 votes
0 answers
29 views

Switch between Wordpress multisite language

My current wordpress multisite main url is Chinese language http://xxxx.com, and English url is http://xxxx.com/en How can i switch the language so that my main url language is English and Chinese ...
user238663's user avatar
0 votes
0 answers
18 views

WordPress Polylang can only use one language

I am using Polylang in WordPress to construct my site. It worked perfectly for the first half year, while I was not actively updating the site during the time. The second language suddently not ...
Yun Chen's user avatar
0 votes
0 answers
21 views

Insert attributes names according to language with polylang programmatically

This is my problem. I try to insert in _product_attributes meta_value field the names of each language. When I print out my query, I am getting only the products in the right language, so ...
Rich's user avatar
  • 1
0 votes
0 answers
16 views

Multilanguange with domaine

I was trying a lot of different plugins, and was shocked that something so fundamental like multilanguage is not easily possible with wordpress - and if yes it cost ongoing money, not one time payment....
user3037960's user avatar
0 votes
0 answers
127 views

Is it possible to have a multilingual site creating a subdirectory without the use of a plugin?

I was wondering if anyone could help me understand whether it's possible to have a multilingual website on wordpress without a plugin, I want to add an english version to my site and what I thought of ...
newcoder30's user avatar