Questions tagged [language]

The tag has no usage guidance.

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

multilingual theme but no multilingual posts

I have a Wordpress page with a custom theme translated into 3 languages using load_theme_textdomain. I can change the site language by going to settings > site language and the theme strings change ...
0
votes
0answers
34 views

For Chinese language how to make WordPress post slug and permalink as like as the post title?

For the Chinese language, WordPress permalink and slug are not readable. It converted to ASCII. Is there a way to make permalink and slug as like as the post title?
0
votes
1answer
7 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 ...
0
votes
0answers
22 views

Polylang : Custom Flags stopped showing up after WP + PLL update

I also posted this question to the PLL support forum; but thought someone may faced a similar issue; and wanted to post it here too, as this is somewhat urgent! After updating my WP to the current ...
1
vote
0answers
7 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.
0
votes
0answers
8 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 ...
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 ...
0
votes
2answers
37 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?
0
votes
0answers
8 views

How could I solve this Character Encoding problem?

I uploaded an XML archive to WordPress which is in Spanish, but it doesn't display the Spanish special characters well. My question is how could I correct this mistake? Example:
0
votes
1answer
30 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 ...
0
votes
1answer
6 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 ...
0
votes
1answer
26 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, ...
0
votes
0answers
25 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 ...
0
votes
1answer
14 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: ...
0
votes
1answer
363 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. ...
0
votes
0answers
237 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'...
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
28 views

Qtranslate-XT Term Name Translation

I want to get the term name in a specific language (English), instead of getting the term name of the current language. $term = get_term_by( 'id', absint($cityname), 'city'); $term_name = $term->...
0
votes
0answers
18 views

Wordpress controlpanel does not offer the 5.5 update in my language?

The Wordpress control panel will usually offer me a new WP version in my language (Danish), as this was my choice when WP was initially installed. But this time (version 5.5) I am only offered the ...
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
26 views

Po/Pot file can not read from function.php

I have a pot file and I translated it as a po file, but it can't read from function.php and it's not working. What shpuld be changes in function file? This is panel-functions.php: <?php //...
1
vote
0answers
73 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"> ...
0
votes
0answers
31 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
28 views

wordpress: %lang% in URL and Bad Request/400 errors

recently I've checked my wordpress installation (I'm running 5.4.1 on an old PHP version 7.1.x - yeah, that's an issue I'm about to solve too) health page status and noticed there are several problems ...
0
votes
1answer
27 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 ...
0
votes
0answers
29 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 ...
0
votes
1answer
32 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
1answer
14 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 ...
0
votes
1answer
64 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 ...
0
votes
1answer
143 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. ...
-1
votes
5answers
125 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
105 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 ...
0
votes
0answers
57 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
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
49 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 ...
0
votes
0answers
146 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 ...
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
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, ...
0
votes
1answer
120 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 ...
0
votes
1answer
34 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 ...
0
votes
1answer
55 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 ...
0
votes
1answer
73 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 ...
0
votes
1answer
15 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 ...
0
votes
1answer
75 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 – ...
0
votes
1answer
20 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....
0
votes
1answer
742 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
185 views

How to change frontend language only

I'm new to WP with no development skills. I've created a shop which is about to finish. We now realised that we are only going to use one language, instead of two which was the first plan. So now, i ...
3
votes
0answers
40 views

Is it possible to set another language for debugging messages?

The site language is defined as Hebrew. So I get translated error messages. It's a terrible thing. It is difficult to understand, it is difficult to search on Google, the directions of the text are ...
0
votes
1answer
263 views

Unable to change default language in wordpress - it changes texts to my language, but default value remains en_US

first of all big thanks to anyone willing to help, now to my issue: When I change the wordpress language in general settings to anything but default (cs_CZ in my case) the texts are changed properly ...
0
votes
0answers
21 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