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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
35 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
35 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
35 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
20 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
121 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
0 votes
0 answers
10 views

Multilingual Wordpress site restructuring, advice needed

My current situation: A Wordpress blog in two languages: my native language + English. Setup with Polylang as follows: ‘www.domain.fr’ and ‘www.domain.fr/en’. The issue: The complexity of ...
S. Tanghe's user avatar
-1 votes
2 answers
1k views

How to get locale within WP REST Request?

When sending requests to the WP REST API / custom WP REST endpoints, which is the way to go to retrieve the current locale; a universal way which always works? I'm confused by the many functions ...
DevelJoe's user avatar
  • 487
0 votes
1 answer
91 views

How to make WP in two languages (e.g. English & Bengali) without plugins

I want to make a WordPress website in 2 languages (e.g. English & Bengali) without plugins. Currently my site is plain html with 2 folders. English pages in one folder and Bengali pages in another ...
Gopal Bhattacharjee's user avatar
1 vote
2 answers
380 views

The Best Multilanguage Plugin supporting the FSE [closed]

Background I have been managing Wordpress sites (and multisite sites) for more than a decade and a half now, and for some reason this is the first time I really had to look into running WordPress in a ...
Peter's user avatar
  • 196
0 votes
1 answer
426 views

Is it possible to add a site-wide add_rewrite_rule for a multilingual site?

We have a client who has had a brand new site developed by another agency, it is multilingual via some custom fields and some basic logic to display the relevant language via a simple language ...
JMD's user avatar
  • 121
1 vote
0 answers
282 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
0 votes
1 answer
64 views

WordPress Multisite for multi-language

I want to make a WordPress with multiple languages. I have two WordPress sites and I want them to use the same domain name. Site 1: http://example.com/en Site 2: http://example.com/de Is this possible?...
user1434702's user avatar
0 votes
1 answer
61 views

Translation for a text that is not printed on the screen

How can I enable the translation for a text that is not printed on the screen? I was recently implementing the translation to my plugin and everything worked as expected. But doing the tests I ...
choseɳ's user avatar
  • 17
1 vote
0 answers
477 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
0 votes
2 answers
2k views

Multilingual website without third-party plugin

I used to use third-party plugins (I tested both free and commercial ones) to do bi-lingual Wordpress websites, but now I want to be less dependent on third-party plugins. Question: Have you achieved ...
jontwo's user avatar
  • 1
0 votes
1 answer
238 views

I display messages using code snippets but how can I use the right language?

I use code snippets to display messages in my site, for example, next to the "Post Comment" button I display the text "Your message will only be visible after manual moderation". I ...
Ton's user avatar
  • 111
0 votes
1 answer
121 views

Can I set is_rtl() to true?

I am adding a section to my site in Pashto, which is a custom Arabic RTL language. I can figure out how to inject "rtl" into the html tag and body tag using add_filter('language_attributes', ...
Neil Hillman's user avatar
0 votes
1 answer
1k views

Filter language in Polylang for custom taxonomy

I'm trying to filter custom taxonomy by language. To achieve this, I use WP_Query class with the following arguments: $args = array( 'post_type' => ['post', ...
JCV's user avatar
  • 21
0 votes
0 answers
145 views

When created sub-directory, can we create a new navbar?

I want to create a new sub directory for my wordpress website. But I will do this for second language option. I watched some videos and I saw that we can create new posts and pages but I didn't see ...
Tuxedo Mask's user avatar
0 votes
0 answers
125 views

How do I change the language of the login page to Arabic?

I have a website where the backend is english and the frontend is Arabic. My wordpress login is in English but i want to make it Arabic. I have tried the first solution listed here How do I change the ...
Abdul-aziz's user avatar
1 vote
1 answer
246 views

Frontend language per user

There is a function of internationalization plugins on WP. If I make .pot files I can translate my plugin to any language. When I install a plugin to website I can choose any language and the plugin ...
ALexander Lead's user avatar
0 votes
0 answers
46 views

For multiple languages, two wordpress instances on subdomains or a plugin?

I have a site in german, and the idea now is to make an english version of it. I can't decide which approach to take. I tend to avoid installing plugins (something doesn't feel right about it), I know ...
arderoma's user avatar
  • 111
2 votes
1 answer
34 views

Problem in Internationalizing a plugin built for network level usage

Context: I have created a plugin that is enabled only at the network level and it handles certain synchronizations between the child sites. As it is a network level plugin, it has its menu added to ...
Talha Imam's user avatar
0 votes
0 answers
106 views

Structure of multilingual and multiregional directory listing website for translation

What is the best translation structure for a multilingual and multiregional directory website? Let's say our listing owners as members of our work team are from around 20 different countries with ...
Bahram's user avatar
  • 1
0 votes
0 answers
63 views

Implementing a multilingual WordPress site by installing several instances of WordPress and redirecting

I am developing a website with WordPress which is going to support 4 languages. My primary language will be English and there will be 3 other languages. For this reason, I have installed WordPress on ...
Naser.Sadeghi's user avatar
0 votes
0 answers
24 views

Replace the page url with a menu link?

i want to make a multilangual site, where the secondary language is a copy of the site in a different folder. For example: Primary language url: example.com Secondary language url: example.com/en So ...
walacky's user avatar
1 vote
1 answer
563 views

404 error- issues with pages after adding custom rules for posts

I am trying to create a custom translation for my website. Quick Story: I am facing "404 error-Page Not Found' issues with pages after adding custom rules in functions.php $newrules['^th/(.*)$'] =...
Naresh's user avatar
  • 123
0 votes
1 answer
343 views

Can anybody provide me with a function to generate slugs?

The functions Wordpress uses to generate slugs are scattered in several functions and filters. I cannot find them all. Can anybody provide me a single php function to generate slugs? I do not need all ...
William's user avatar
  • 103
0 votes
0 answers
257 views

Can non-latin characters appear in slugs?

For a non-latin category name such as "我的种类", the slug generated is "%e6%88%91%e7%9a%84%e7%a7%8d%e7%b1%bb". What function does Wordpress use to generate this slug? Can I directly ...
William's user avatar
  • 103
0 votes
0 answers
50 views

I cant test my .po file for Turkish Language

I created 2 files to provide language support to my theme. .mo file contains only some info such as language creator name and some key words such as __e . my .po file contains all text from theme and ...
Faruk rıza's user avatar
0 votes
0 answers
43 views

How to implement data residency in my WordPress site

I am developing a WordPress multi-site with woo-commerce and subscription plugin. This site will be used in several country like Bangladesh, Australia, United States and Canada. But I want user’s data ...
Sajed Ahmed's user avatar
0 votes
1 answer
845 views

different domains disabled in polylang

Short: In Languages -> Settings -> URL modifications, the options "The language is set from the subdomain name in pretty permalinks" and "The language is set from different ...
riddleculous's user avatar
1 vote
1 answer
676 views

Why .mo .po files are not working with my site?

I have a site with polylang installed with 3 languages. LV as default, EN and RU. For the PLURAR(polylang does not support it) strings translation I want to use poedit locally and then copy the ...
jam's user avatar
  • 183
1 vote
0 answers
76 views

A simple method for disabling WPML language switcher when meeting specific circumstances [closed]

this is not a question but -hopefully- an answer. I realized that more than a couple of people on the WPML forum asked for a solution to this matter, so I thought it could be useful to share my ...
Marks's user avatar
  • 31
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
0 votes
2 answers
150 views

Best way of creating a website with multiple themes/languages

I am building the website for my startup, I have limited knowledge of WordPress but managed to build some decent websites using premade themes. I now face this problem I need to build a website that ...
polonius_932's user avatar
0 votes
0 answers
63 views

I have English words in Kurdish pages

Good Day, I have a wordpress draft website with woocommerce plugin (https://landroveriraq.com/toto), I build this website with (3) languages (English, Arabic, Kurdish) the English is a default ...
Sardar Developer's user avatar
1 vote
0 answers
128 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
0 votes
1 answer
136 views

WPML - Stop language redirection in initial load

We have a multilingual website which is connected with English & Arabic using WPML plugin in WordPress. As a default behavior, the website is redirecting to /en/ version which I need to stop, but ...
Karthick's user avatar
  • 246
0 votes
1 answer
127 views

Use country flag as user avatar based on comments IP address?

trying to find the way to allocate a country flags instead using MisteryMan icon, Gravatar or User Avatar. Any help or suggestion about where to start?
SuperAtic's user avatar
  • 149
0 votes
2 answers
27 views

How do I make my site multi language? [closed]

I started getting international visits but how do I make my site multi-language? Is there a good plugin or what do I have to do?
Nate's user avatar
  • 211
0 votes
1 answer
797 views

How to create custom backend admin menu in different languages?

So I've found absolutely nothing about this subject online. What I've done: I successfully programmed a custom admin menu in english for my wordpress backend, according to https://webkul.com/blog/...
Joe's user avatar
  • 35
0 votes
1 answer
174 views

How to enqueue 2 rtl css

I tested my website with https://wordpress.org/plugins/rtl-tester/ plugin when wordpress language is english.It seemed good.So Do I still need to make style-rtl.css? If I need to make it, how can make ...
ahmet kaya's user avatar
0 votes
0 answers
98 views

Automatically switch language based on visitor's country

I want to switch domains based on the visitor's country since I have one for US/CAN/International in English and Chinese for China. I want to know if it's possible to redirect my English site to my ...
Shay Sashcov's user avatar

1
2 3 4 5
8