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
5answers
37 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
17 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")...
0
votes
0answers
23 views

Accessing and using same Wordpress page from different subdomains for multi language website

I want to make my website into multiple languages. My website is a database website, I don't have articles or a blog. The only thing that I want to change in the other language are the titles and the ...
1
vote
0answers
14 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
31 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
0answers
18 views

Changing a site from Simplified Chinese to Traditional

I have built a website using the wordpress Simplified Chinese language pack with the help of a human translator to get the chinese as accurate as possible. The website has a lot of plugins and also ...
0
votes
0answers
13 views

Category url decoding problem, refresh page is 404

I am working on a wordpress v5.2.4 site that has Arabic language and words in URL which is causing an odd issue. I create a category: خطوط إرشاد which is creating a slug url: www.mysite.com/خطوط-...
0
votes
0answers
12 views

RTL theme displaying LTR in WooCommerce pages

I'm using DIVI with WPML, WooCommerce and Variations for WooCommerce I have issues with text align/direction/float and string translations on the shop, product, and checkout pages (see below) Where ...
0
votes
1answer
22 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
64 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 ...
0
votes
0answers
9 views

Primary language linking to homepage of second language instead of it page

I have 2 languages: english: standard arabic: second language So in the template page: http://nabta.juvoclients.com/community-ar/ it can be linked to http://nabta.juvoclients.com/community/ but when ...
0
votes
0answers
15 views

how add multiple language in wordpress admin menu

How to add multiple language for wordpress admin menu I have added my English menu like this in my theme add_menu_page( "Dashboard Setting", 'Dashboard', 'read', 'user-dashboard', ...
0
votes
0answers
13 views

How to make theme options multilingual

Themes always have options to be outputed on the fronend, but for a multilingual site, this is a problem, because you have only one version of the option, somthing like copyright option you need to ...
1
vote
0answers
16 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
0answers
23 views

language-[content-] switcher in mega menu - without any ml-system

language-[content-] switcher in mega menu - without any ml-system. i just plan to create a new site where i use Max-Mega-Menü etc. etx estimated textamount max 2000 words - in five languages: ...
0
votes
1answer
16 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
25 views

Theme-located plugin translation, but on empty string; use plugin translation

I'm storing a plugin translation in my theme/languages. In that file I have all the translatable strings for the plugin. Although, I leave all translations empty except for those I wanna translate for ...
0
votes
0answers
35 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
14 views

How to fix wordpress permalinks flip in hebrew

I have a WordPress website in hebrew. My problem is when have a parent page and a child page, the child page url permalink is backward(the child page slug is after the parent page slug). I want first ...
0
votes
0answers
49 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
0answers
16 views

Multi language compatible series plugin

I'm using Polylang to offer a German and an English version of my blog contents. Polylang has many ways of translating your blog contents, including custom taxonomies. However using the organize ...
0
votes
1answer
34 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, ...
0
votes
0answers
20 views

different stylesheets for different languages

I want to translate an LTR wordpress theme to RTL. The theme uses bootstrap and includes bootstrap.min.css. But for RTL mode I need to include a different bootstrap css file named bootstrap-rtl.min....
0
votes
1answer
42 views

How to display dual language menus and headers?

For reference: https://www.hpa.org.nz/about/our-role Note the dual language menu - Te Reo Māori in smaller text above each English menu item and the English header. All the multi-lang plugins I have ...
0
votes
0answers
27 views

Multilingual website with different content and look

I want to make the second language for a site. But actually, I don't need to translate the current content. That is why I think it is not effective to use plugins like Polylang. I was thinking about ...
2
votes
1answer
47 views

plugin development: storing language specific options

I'm currently rewriting a little plugin that shows visitors a small info text. This plugin is German only so far and so I want to add multi language support as I am working on a page that should be in ...
0
votes
0answers
26 views

Set Adjacent Post By Alphabetical Order for Custom Post Type in Multilingual Site

In order to apply chronological order with posts and alphabetical order with a certain Custom Post Type, let's say, "animals", displayed through a single-animals.php template, I found this snippet ...
0
votes
0answers
34 views

Post excerpt doesn't translate to current language

I'm using WP Multilang v2.3.0 plugin to support translation of the content to English. Currently I have it configured for two languages, my primary and English. While I'm on the main site (index.php) ...
0
votes
1answer
22 views

How to get full native language instead of iso?

I am not using WPML or Polylang, but multisite to create multiple languages. The code below is used to make a language switcher, but I want a second menu with the full language name for a different ...
1
vote
0answers
18 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 ...
0
votes
1answer
24 views

Plugin translation not working on WordPress.org

I have been developed a new plugin and published on wordpress.org. I want to translate my plugin in French language. I created a .pot file and translate strings using poedit. After translation, I ...
0
votes
1answer
280 views

Qtranslate-X get raw post title value

How can I get a raw value of post title using Qtranslate-X plugin? I have 2 active languages - [:et] and [:ru] $posts = get_posts($args); if($posts){ foreach($posts as $post){ $title1 = ...
0
votes
1answer
29 views

Language setting for Specific WordPress Page

My website is in English Language and using WordPress. Html Code contains lang="en-US" only. But I want some of the page in other language like Spanish, Arabic and German. When I create new page ...
0
votes
2answers
39 views

Wordpress in 3 languages

I have my website with Wordpress in English. I would like to translate the full website in French and German. I don't want to have an automatic translation from google. I would like to translate ...
0
votes
1answer
29 views

How to Get Linked Elements for a specific ml_source_elementid

I'm using MultiLingualPress* on one of my pages, which is multisite, multilingual. I am trying to get the permalink of a page based on two things: 1) The ml_source_elementid, which identifies the ...
0
votes
0answers
16 views

Wordpress theme to support single website but with 3 sections for 3 languages

I have 3 domains that go around the same topic - city portal. These domains are basically aimed at 3 languages: local, English and (just for the sake of argument): Esperanto. I want to organize these ...
0
votes
0answers
19 views

How to add language tags like “<html lang=es>” in just some certain pages?

How is it possible to add the language-tag like at a certain wordpress page? Background: I have some translated articles in my blog and want add to add this tag to the sites I translated. How is it ...
0
votes
1answer
18 views

Localisation and Wordpress

So I'm setting up translations for a website based on locale. But it seems like Wordpress is determining this with the language as set in the Admin. How do I set up a localisation so that if I'm in ...
0
votes
1answer
58 views

Multilanguage backend interface

I manage a site that is available in 5 languages, including English. The Polylang plugin is used to achieve this. The problem is that I only understand two of the languages, and it's cumbersome to ...
1
vote
0answers
76 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 ...
0
votes
1answer
61 views

Conditionally change Wordpress core language

I need to change the wordpress language conditionally. So I use the code: //Change Site Locale function wpsx89972_redefine_locale($locale) { if .....my condition exists... { $locale = 'en_US'; } ...
0
votes
0answers
54 views

2 languages, 3 domains

I have a site that uses WPML for showing the website in 2 languages. Now I want to add a domain alias for 1 of these languages. And I don't want it to be a redirect. For example: sitename.nl should ...
0
votes
1answer
666 views

How to make a wordpress blog in two different languages?

I have a news blog and i am posting news in English. Now I want to make another section where I want to display news only in Urdu language. I also want to keep both languages separate that when I am ...
2
votes
2answers
2k views

Get Polylang available languages on admin page of my plugin

I am making an plugin, and inside my admin page (Which i add by add_menu_page() function) i call this function pll_the_languages(["raw" => 1])) but its return nothing,on client side its work fine. ...
3
votes
1answer
321 views

How to change date language without changing the entire site language?

I want my my entire site on English, but the dates to be on other language. I tried to set PHP local like this: setlocale(LC_ALL, 'he'); Setting my whole website to the another language from admin ...
0
votes
1answer
66 views

how to remember specific action/event for current user?

i have made multi-language site thanks to polylang now i dont want to use polylang's switcher as it causes layout issues so i found a better solution is by putting a link on top. for example if user ...
0
votes
1answer
32 views

Recall translations made with Poedit

I designed a WordPress theme from scratch starting from my html site and in the conversion I used the functions _e() and __() to make the theme multilingual ready. Then I created the translation .po ...
-1
votes
2answers
2k views

Get the ID of the default language equivalent page in Polylang [closed]

How can I get the ID of the default language equivalent for whatever page I’m currently on? For example, I’m on abc.com/es/mypage, I want to get the ID of abc.com/mypage. I tried setting up the ...
0
votes
3answers
69 views

Is there SEO or related limitations to using Custom Post Types instead of WPMU?

With regard to the structure of a multi language wordpress site, I read articles discussing the pros and cons of a subdomain based WPMU(wordpress multisite) or a subdirectory based WPMU or WMPL plugin ...
0
votes
0answers
30 views

phantom language switcher

Some background, I had an english installation of wordpress, with ENFOLD theme. (not my doing) the original developer installed polylang and turned it to multi-language site (two languages). I've ...