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
0answers
8 views

Post content synchronization for two languages

I need to make website work in 2 languages. I am interested if I can set automatic duplication of posts content across the languages once post is published in one language (including ACF radio buttons ...
2
votes
1answer
11 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 ...
0
votes
0answers
27 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 ...
0
votes
0answers
16 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 ...
0
votes
0answers
11 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 ...
1
vote
1answer
40 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/(.*)$'] =...
0
votes
1answer
27 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 ...
0
votes
0answers
40 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 ...
0
votes
0answers
27 views

Remove language slug to a path in a cloaking url

I have created a cloaking url, but I have a problem, I am using a translation plugin called translatepress. When I change the language the cloacking url changes from mysite.com/refer to mysite.com/es/...
0
votes
0answers
11 views

Copy the same post in custom post type in different language(WPML)

On my website, I'm using WPML and there are two languages DE & EN. DE is the default language so whenever I'm creating posts from API that runs via cron, that adds posts only in default language ...
0
votes
0answers
16 views

how to tell polylang not to change images urls?

using the free version of Polylang with Astra theme (no visual builder) Initial site language is italian, and I’ve setup a .com domain for english. (so i used the multi domain translation option) Via ...
0
votes
0answers
24 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 ...
0
votes
1answer
65 views

pll__() polylang function undefined when replacing __() in plugin

We use Splitit to process certain payments and are trying to implement translations with polylang. Simply, we are replacing () with pll() and registering the strings in functions.php The issue is that ...
0
votes
0answers
20 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 ...
0
votes
1answer
71 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 ...
0
votes
0answers
6 views

Language switch not available in posts menu

I have a problem that my language switching options are not available for one part of the website. It is not showing german switch possibility in posts. Do you have any idea why it is not showing ...
0
votes
0answers
14 views

Custom field to show bilingual Title, Description for WooCommerce Products?

Is it a good idea to replace Title, Description fields with ACF(Advanced Custom Fields) to show alternate language for products of WooCommerce? Since I am using Multivendor Storefront to enable ...
0
votes
0answers
14 views

Bilingual WooCommerce Multivendor with ACF fields to replace Title and Description in second language

I have a bilingual wordpress having WCMarketPlace with Advanced Frontend Manager dashboard for vendors. Since the vendors do not have access to Admin panel (the dashboard urls are like domain/...
0
votes
1answer
27 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 ...
0
votes
0answers
10 views

Translated posts are all converted into random strings

I am using polylang and lingotek plugin for translation and I am trying to build a multilanguage website. I have using Nepali and English whereas English is my default language. All of a sudden all ...
0
votes
0answers
18 views

Create languages dropdown on registration form

My site is both English and Latvian. How to add frontend dropdown on registration form where users can choose their preferred language (the language they receive WP emails, etc.)? add_filter( 'locale',...
0
votes
0answers
53 views

best way to achieve multi region, multilingual in wordpress?

I'm stuck in this for some time. I would appreciate any guide for this. I want to achieve multi region, language and currency structure exactly like this website(you can check top right corner): tile ...
1
vote
0answers
22 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 ...
1
vote
2answers
634 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 ...
0
votes
2answers
32 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 ...
0
votes
0answers
49 views

Filter by language in gutenberg posts block (polylang)

I use polylang and have posts in two languages. I created a page with a posts block using the gutenberg editor but the block shows me posts in all languages, only allowing me to filter by category. Is ...
0
votes
0answers
32 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 ...
0
votes
0answers
18 views

Translation of page slugs using code

I've translated my website using translatepres plugin. I now need to translate all the page slugs like from site.com/se/contact/ to site.com/se/kontakt/ Please provide some useful funtion or hook to ...
1
vote
0answers
19 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 ...
0
votes
1answer
26 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 ...
0
votes
0answers
8 views

WordPress WPML Setup Help Needed

I have live wordpress site with WPML plugin 1) https://(my-domain).com -> English 2) https://(my-domain).se -> Swedish it is working fine Now i want to change url structure i.e. 1) https://(my-...
0
votes
0answers
9 views

Add a Second Language to Wordpress Genesis Website

My website, hosted on wix is multilingual: domain.com for English and es.domain.com for Spanish. I am in the process of Migrating to wordpress, the theme i have is genesis. The content is already ...
0
votes
1answer
38 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?
0
votes
2answers
24 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?
0
votes
1answer
248 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/...
0
votes
1answer
29 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 ...
0
votes
0answers
16 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 ...
0
votes
2answers
152 views

get_the_date() returns english Year & Day when language is Arabic

I changed my WordPress language to Arabic, Now get_the_date() returns يناير 30, 2020 (half Arabic & half english) but I need to get date full Arabic like: يناير ٣٠, ٢٠٢٠ How can I do this?
1
vote
0answers
73 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 ...
-1
votes
5answers
130 views

What is the best option to convert my WordPress website to French Language?

I have my WordPress website in English language and now my client want to convert that website in the French Language also. So, how I can clone my website in French Language. Any help is much ...
0
votes
0answers
61 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")...
1
vote
0answers
22 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 ...
2
votes
1answer
121 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 ...
0
votes
1answer
42 views

where to add this filter? in which file should be added?

For wordpress language switcher, this post was helpful for others, but I don't know where to add the mentioned filter How to change language file used by _e function add_filter('locale', function($...
0
votes
1answer
904 views

Change WooCommerce currency programmatically on AJAX request

I am adding a custom ajax_action to fetch a product and display price html (same template as everywhere else on my page), the issue is that the price being returned is not equal to the current price ...
1
vote
0answers
29 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 ...
0
votes
1answer
22 views

how to change fonrs for Indian reqgional language?

Google and wordprees provides 100s of cool fonts for English. How do I add a new font in a language that is not English. (In my case Kannada). Are there any plugins to add fonts?
0
votes
0answers
77 views

WPGlobus Multilingual - REST API

I'm using WPGlobus plugin with REST API, For fetching data from posts now if I fetching content of pages it shows me like, "content": "{:nl}De korting wordt automatisch berekend aan de hand van o.a. ...
0
votes
0answers
244 views

get_locale() is different from $locale

for a language switcher I need to change the get_locale value to the needed language which works great using this code in my functions.php add_filter( 'locale', 'set_my_locale' ); function ...
0
votes
1answer
58 views

Load custom translation in custom plugin fails

I'm working on a custom plugin and I try to add translations but without any success class MyClass { public function __construct() { add_action('plugins_loaded', [$this, ...

1
2 3 4 5
8