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
1answer
17 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
13 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
18 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
17 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
1answer
75 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
25 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
19 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
19 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
14 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
22 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
6 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
15 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
0answers
17 views

How to use cache for different language pages and handle multiple languages?

I have webpage with language change button. When I press the button I write into php Session variable parameter 'en' for english language. Then I reload whole page, but language is still same nothing ...
0
votes
1answer
103 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
20 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
25 views

wordpress __() gettext problem

I am using WPML string translation to translate strings in my site. When I check the theme file the gettext functions are written without a second argument eg: __('some text to translate') But after ...
0
votes
0answers
15 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
47 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?
0
votes
0answers
38 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 ...
0
votes
5answers
92 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
27 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
28 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
21 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
75 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
92 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
21 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
31 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
41 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
432 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
23 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
21 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
61 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
157 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
55 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
1answer
62 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
28 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
49 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
1answer
29 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
20 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
32 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
563 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
63 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
71 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
32 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
20 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 ...

1
2 3 4 5
8