Skip to main content

Questions tagged [language]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

Multilingual WordPress Website with multiple source languages

A very special request. I'm developing a multilingual network for a client using WordPress. I've tried many plugins for my use case, but none have met my needs. The key feature of this network is to ...
Martin Ivanov's user avatar
0 votes
0 answers
10 views

How to correct translation error in WP Astra Taxonomy block

In Astra Child theme, there's a nice Taxonomy block that displays all categories with the number of posts to them. Translated to Dutch, the plural form is wrong. It's "Berichts", should be &...
RolfBly's user avatar
  • 121
0 votes
0 answers
11 views

Unable to change blog language in multisite

tl;dr No matter what I select in Site Language: After hitting Save this value is always reset to English (United States). Where or what should I be looking for to resolve this? I was playing a ...
trejder's user avatar
  • 322
-2 votes
1 answer
169 views

How to retrieve blog language without any region (locale) attached?

How can you retrieve the language of a WordPress website, without the added region suffix attached to it? In other words, just get the language, without the entire locale. E.g. <html lang="en&...
Jesse Nickles's user avatar
0 votes
0 answers
21 views

Distributed plugin - add support for Cyrillic

Our plugin creates a custom database table for storing text entered into a textarea. $sql = "CREATE TABLE $table_name ( id MEDIUMINT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, ...
shanebp's user avatar
  • 5,063
0 votes
1 answer
28 views

Spanish site, some words translation still in English

I have a Wordpress installation, with the Spanish language set as the main language. But I still see texts like "We found 6 results for your search" or like "Published" or "...
alejandro's user avatar
  • 101
1 vote
1 answer
282 views

How can I redirect a request to the site root using htaccess, if there's not a specific cookie set?

I'm using this code, versions of which I've seen referenced on various other sites, but it always redirects home page requests to /fr/ if the browser is set with French as a primary language ...
Mark Howells-Mead's user avatar
0 votes
0 answers
35 views

Change "published by"

https://i.sstatic.net/tHTdu.jpg At my blogg / news is this line is coming at a new post. I use norwegian as language and then I want to change the word I marked yellow. In english is "published ...
bjovaar's user avatar
  • 21
0 votes
1 answer
33 views

Different Admin language

We are running our WP site in Hungarian but nobody in our team understands this language. We successfully changed admin backend language to our native language but not everything changed. We are still ...
Vlado's user avatar
  • 111
0 votes
1 answer
124 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
0 answers
151 views

Admin menu in different languages

My Wordpress admin language is partially in English and partially in Dutch. This causes some things (like events) to show in English on the site, which is not supposed to happen. I used 'admin menu ...
Jessica's user avatar
1 vote
0 answers
189 views

Translate emails into the language of the user

The following scenario: An admin activates a function or similar for a user (in the WordPress frontend). Now the user should be informed about this by email. Therefore an AJAX call is sent to the ...
Farley's user avatar
  • 11
0 votes
0 answers
133 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
351 views

Multisite: How can I have the admin bar (toolbar) use the language of the user instead of the language of the sub-site being viewed?

By default in a network install, when viewing a sub-site, the sub-site language is used for the admin bar (toolbar). How can I have the admin bar (toolbar) always use the language of the user?
henrywright's user avatar
  • 3,077
0 votes
1 answer
15 views

Language string not detecting used within the function

I am using Mpdf lib to generate PDF for the plugin I am developing. The PDF has much more tabular data that require localization. For that, I have created a function for TH and TD as below. function ...
pixelngrain's user avatar
  • 1,400
1 vote
0 answers
38 views

How to set different languages for front-end and back-end

I'm trying to set Russian language for my website but leave English for back-end. The WPLANG is set for ru_RU, but the site is shown still in English. Thanks for any advise.
user2127407's user avatar
0 votes
0 answers
39 views

Change language in SiteOrigin Widgets

Hello I am trying to change the SiteOrigin widget to German, but I am not succeeding. The admin and user of the site I have already changed to German, but it does not change anything in the SiteOrigin ...
blackplan's user avatar
  • 101
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
0 votes
2 answers
47 views

What programming language should I study to know WordPress very well?

I want to know WordPress structure and functions very well. So what programming language should I study to know WordPress very well? PHP?
Sang-hun KIM's user avatar
0 votes
2 answers
490 views

How to Fix Mangled Thai Characters

I'm having font problems, or maybe character encoding on wordpress. I am building a Thai website, most of the articles are in the correct language and there is no problem. But there are a number of ...
KhangHoang's user avatar
0 votes
1 answer
65 views

Plugin language always shows WP site language, not profile language

I wrote a plugin that I translated from English to German. The German translation only shows up, when I change the site's language to german. Once the site language is set to German, it will always ...
Skymonkey's user avatar
0 votes
1 answer
186 views

Remember language choice on multisite website

I have a multisite website with 3 websites representing 3 languages. On my network website https://example.com I have a page with 3 language choices linking to https://example.com/nl?language=nl, ...
netcult's user avatar
0 votes
0 answers
156 views

Language per user role, how can I achieve this?

I have a multisite with Buddypress intended for two languages. Therefore I have translation files for each language, and this for the theme and for the plugins (nl_NL , fr_FR) in the folders ...
Erwin Van den Bogaert's user avatar
0 votes
1 answer
46 views

Is hint for translator compulsory while internationalizing a string containing variables?

I am following this official guide to internationalise my plugin. But I am confused if the hints are must required incase of variables inside string? printf( /* translators: 1: Name of a city 2: ...
SkyRar's user avatar
  • 202
4 votes
1 answer
3k views

`wp_set_script_translations` with `wp.i18n` does not return translated strings in simple plugin

Short description: I try to translate strings in JS file. To test it I decided to create a simple test plugin. I have PHP and JS strings there. Translated PHP strings work fine, JS strings don't work. ...
kanlukasz's user avatar
  • 504
0 votes
0 answers
1k views

How do I fix errors regarding the language markup of my webpage?

The language set or defined for my webpage is en-us. But unfortunately, the language detected for text on the page is sk. I have reset the language from setting to en-us on several times but it doesn'...
Nathaniel Kwesi Appiah-Eshun's user avatar
1 vote
0 answers
318 views

How can I set different html lang attribute for different countries?

My WordPress theme header.php html language attitude <!DOCTYPE html> <html <?php language_attributes(); ?>> All page html language attitude : <html lang="en-US"> ...
Ayaan's user avatar
  • 11
0 votes
0 answers
64 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
0 votes
1 answer
44 views

How to translate wordpress blog to other languages?

I have a blog in wordpress security niche. It is currently in english and is quite popular with wordpress folks but i want to target other languages/countries as well. What would be the ideal way to ...
ideosyncratic's user avatar
0 votes
0 answers
155 views

__() function inside html tags

sprintf(<span style="display:block;margin:4px 0 0;line-height:1.25em;font-size:95%%"> Image credit: %$s</span> esc_html( $credit )); I would like to add __() function to translate Image ...
vowal's user avatar
  • 1
0 votes
1 answer
128 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
1 answer
97 views

The option to change site language isn't available

I have a Wordpress installation that's set to English by default, but I want to change it to Polish. From what I found, there's supposed to be an option in Settings -> General, right below "Week ...
Meeep's user avatar
  • 113
0 votes
1 answer
657 views

Display site language setting in source code

I manage a plugin. I have people often complain about translations and have found that sometimes they don't have their site set to their local language. Is it possible in site source code to display ...
Steve's user avatar
  • 297
0 votes
1 answer
504 views

How to change WordPress core language using Loco Translate?

I just want to change the text "Add Media" to another English text. I search the text under my theme but it didn't appear. But under Loco Translate > WordPress, there're so many translation files. ...
Yibene's user avatar
  • 1
-1 votes
5 answers
206 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 ...
Rahul Pamnani's user avatar
0 votes
0 answers
144 views

Woocommerce language isn't default language

I have a multilingual website (french and occitan) with Woocommerce. My default language (in settings - general) is french. But Woocommerce is displayed in occitan (e.g. the "turn to shop" or "add to ...
user180419's user avatar
2 votes
0 answers
253 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")...
Rodrigo Butzke's user avatar
0 votes
1 answer
55 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($...
abgrxenda's user avatar
1 vote
1 answer
183 views

Can't have a Persian website with a completely English admin panel!

I'm new to WordPress. there is a problem which really freaks me out. the WordPress(v5) which my host installed for me was all in Persian; I changed the user language to English, the main interface ...
Sepehr23's user avatar
0 votes
0 answers
454 views

WPML - Hook when language is switched (change user language)

I would like to change the logged in user's language (if someone is logged in) when they change the language in front-end. I'm using the WPML Multilingual CMS plugin in my Wordpress website. I've ...
nielsv's user avatar
  • 173
0 votes
1 answer
30 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?
Trect's user avatar
  • 153
0 votes
1 answer
84 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, ...
fefe's user avatar
  • 874
0 votes
1 answer
300 views

Getting Turkish alphabet characters in the URL field in webbrowser

I want to make a WP website in Turkish that shows the proper Turkish alphabet characters in the URL fields in the webbrowser and in WP instead of the English alphabet ones. I tried it already but I ...
Hans's user avatar
  • 55
0 votes
1 answer
57 views

Language file doesn't work (poeedit)

I'm trying to translate a WordPress template. I went to language files, then opened that copy with Poedit and started translating to my language (persian). After finishing the translation, I changed ...
Arash Khademloo's user avatar
0 votes
1 answer
223 views

Print shortcode according to site language

I'm creating my website with "elementor plugin". So I used to customize the default WordPress search result page since I couldn't access it with elementor. Anyway, I tried to display my custom ...
Atef's user avatar
  • 123
0 votes
1 answer
146 views

Wordpress in French Language [closed]

I am migrating a French wordpress website. After completion the website keeps displaying special characters, specially the black diamonds with white question mark inside �. I have installed the PO ...
Albuquerque Web Design's user avatar
0 votes
1 answer
21 views

My website change automatically lenguage in wordpress [closed]

how are you? I don't know why when I change the page on my website automatically change the language. For example: I start on the home page (in English), when I go to another page as "Services ", the ...
Emanuel Lemos's user avatar
0 votes
1 answer
184 views

Mixed language in admin backend

I’m running WordPress in French and some words in admin backend are still showing in english ! Like “users” and “dashboard” and many more. What I did : – Switched to twenty seventeen theme – ...
nemovich's user avatar
0 votes
1 answer
22 views

Facebook video on a post appears in a strange language [closed]

I don't know why it happens but, when I copy and paste a Facebook video URL inside my blog post, the language switch into Hindi or Indonesian (I don't really know) https://prnt.sc/mlu83q https://prnt....
NicoCaldo's user avatar
  • 147
0 votes
1 answer
1k 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 = ...
anton's user avatar
  • 1,033

1
2 3 4 5