Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
30 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
0answers
9 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
20 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
0answers
25 views

Country specific pages in a site

I’m working on an multi-national site for which the sponsors want pages supported so that each page: Can be served from a single default page regardless of the country (80% of pages), and Default ...
0
votes
1answer
19 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
15 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
14 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
15 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
0answers
52 views

Different language for each Custom Post Type

I doubt this method, check is that true? Imagine we have a wordpress in English language that have a Custom Post Type in French language with fr slug. We can create single-fr.php and archive-fr.php, ...
0
votes
1answer
22 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
votes
0answers
15 views

Visual Composer error

Im using Visual Composer as an editor and Multilanguage by BestWebSoft. everything seems to be fine but when I add the same styles as borders, background colors etc through Visual Composer shows up ...
1
vote
0answers
50 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
32 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
35 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
234 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 ...
0
votes
1answer
682 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
67 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
34 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 ...
0
votes
0answers
22 views

Set different page for logged in and guest user in wordpress with polylang support

if( is_user_logged_in() ) { $page = pll_get_post(1713); update_option( 'page_on_front', $page->ID ); update_option( 'show_on_front', 'page' ); } else { $page = pll_get_post(4142); ...
-1
votes
2answers
650 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 ...
-1
votes
0answers
104 views

As users geoIP code or location, how to redirect to respective language link, used wpml plugin

I have wpml language switcher widget[added with wpml plugin] in footer with code like <ul class="js-wpml-ls-sub-menu wpml-ls-sub-menu" style="visibility: visible;"> <li ...
0
votes
3answers
54 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
22 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 ...
2
votes
0answers
50 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 ...
1
vote
1answer
28 views

Show category to visitors in different name or different language without changing basic category

I use WordPress blog and I post in Arabic language. My idea is, for example, my basic category is astronomy, but I want it to be appearing to visitors in different language like الفلك, but without ...
0
votes
0answers
33 views

Interface translation without plugins

EDIT 2: I am planning to implement a language switcher, but I don't have a clear understanding of how interface translation works in WordPress out-of-the-box, without multilanguage plugins (I don't ...
0
votes
1answer
21 views

How do I add languages?

This may seem like a basic question but I’ve been using Drupal for almost 3 years now and moved to WordPress two weeks ago. I'm using Buddypress. I just want to add some kind of language tool that ...
0
votes
1answer
25 views

Create sub-domain for multisite and multi languages?

I have developed multisite in WordPress. I have created two multisite one for Hindi and another for English. Hindi URL is: http://example.com/hindi and English URL is: http://example.com Now my ...
0
votes
0answers
17 views

How to implement Multi-language Membership site

I have set up a localhost test site with dual-language capability. I used the Sub-directory method to set up and everything seems to be working OK. I installed PaidMembershipPro (Free version) and I ...
0
votes
0answers
92 views

Polylang plugin translation problems

I am using polylang. I have certain input values that are stored in options table of my plugin. I have changed those value to Nepali language as well. You can see here: https://prnt.sc/ibqcfx I have ...
1
vote
2answers
226 views

How to translate WordPress Emails?

I'm running a multilingual site, and I want the emails sent to the user to be in their language. The scheme I already have is the following: The website determines the user's country through their IP....
0
votes
0answers
51 views

Multiple Languages for each subsite on a Multisite

I need to create a multisite consisting in two Subsites, but I'll also need that each of them have 3 languages. So just to be clear, the structure is: Multisite - Subsite 1 - - Portuguese - - ...
0
votes
2answers
66 views

Is this possible? A multisite with “www.example.com/en/blog/” and “www.example.com/cn/blog/” (two directories deep)

Is it possible to install a multisite and have the first installation here: http://www.example.com/en/blog/ and then all other sites in these places? http://www.example.com/cn/blog/ http://www....
0
votes
2answers
27 views

Translation plugin to translate another plugins

I have installed several plugins, but there are a lot of, which doesn't support my language. I found solutions, which supports to write multilingual content, but can't handle language of plugins or ...
1
vote
0answers
26 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 ...
0
votes
1answer
481 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 ...
0
votes
0answers
27 views

Theme options - Customization Api - is it possible to make it mulitlang?

I'm developing theme and it needs to support at least two languages. Right now I'm using for some front page customization: Theme Customization API. And it is nice but I couldn't find a way to make it ...
0
votes
2answers
324 views

Language files are not loaded in production

I made changes to my website and it became multilingual locally. I'm using qTranslate-X plugin. I deal with PT and EN. I used __() and _e() functions for strings and POEdit for creating .po and .mo ...
0
votes
0answers
200 views

Multiple multilingual sites, using the same translation

I can't find a way to be sure that what I need to achieve is possible after a hundred articles read :D may I ask for help? Lets say I want 2 sites on different domains : example.fr example.nl ...
0
votes
0answers
194 views

I want to add a Japanese Language Version of Wordpress. How do I create a second copy of my Wordpress site (AWS Windows 2012 R2 IIS)?

Can anyone assist please? I have a Wordpress site (English) that sits on my AWS EC2 Instance, Windows 2012 R2 Server (IIS). This site is fully operational, no issues. I'm currently having this sites ...
0
votes
0answers
18 views

Is there a way to ensure browser automatically translates page content to another language (via Google Translate)?

How would I approach automatically applying a Google translation to page content for ~500 custom posts on my site? I’ve created a French version of my website using the WPML plugin (French site here)....
0
votes
0answers
248 views

my css files are gone after i translated my wordpress

am new to WordPress , i used weglot plugin to translate my WordPress from English to Arabic , After that , the translated Arabic page is missed up , no css files is loaded , i don't why and how , even ...
3
votes
1answer
46 views

How Wordpress knows where to find locale files?

I just used Poedit to translate a plugin with no translations. I found strings to translate and I generated the .POT file and the .PO and .MO in my language. I created a folder languages in the ...
0
votes
0answers
27 views

Multi Language and Multi Theme Wordpress

I want to develop a wordpress site where i have two languages "English" and "Arabic". When i select a "Arabic" Language then the theme turns to RTL Mode. Can anyone share an idea.? For Multi language ...
0
votes
1answer
34 views

Wordpress multi language works in local host but not in the live site?

I have a WordPress website with two languages English/Arabic, the English URL is the home directory localhost/mysite. the Arabic version working when adding /ar to home URL localhost/mysite/ar, ...
0
votes
1answer
150 views

I have a plugin that applies a Google translation to my page--how does the browser know which language to display?

My site uses a plugin (Google Language Translator) to apply a Google translation of the text (see page here--the flags at the top of the page switch the language). If I change to another language, ...
0
votes
0answers
35 views

wordpress4.8.2 Multilingual Plugin

I have R&D on some plugin area where I have already created one plugin that works perfectly in multiple languages. I'm use WordPress 4.8.2 and in that for plugin multi-language supported i have ...
0
votes
0answers
85 views

Change the language of a plugin, through its Po files

Can I change the language of a plugin in the frontend through hooks and php functions, if it already includes its own PO translation files? Example: I'm using the multilingual plugin "Polylang" and ...
0
votes
0answers
18 views

Create a custom page to use in all the sites, A multisite question

I have been developing www.americaeb5visa.com . This is a multilangual site, It was very difficult for me to figure how to create multilangual site out, I found the solution by using a plugin called ...