Stack Exchange Network

Stack Exchange network consists of 175 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 [language]

The tag has no usage guidance.

0
votes
0answers
20 views

How to translate a term in singular and plural form?

I am using WordPress 5, Poedit 1.2.2 (5728) Free version. How to translate a term in singular and plural form?
0
votes
1answer
23 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
26 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
26 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
25 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
13 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
27 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
16 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
57 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
15 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
36 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
39 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
15 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
0answers
17 views

Adding a different domain to existing Wordpress site

I haven't really found a question covering this topic and I'm sure that's because I don't know exactly how to word it. The problem is the following: My boss has recently overtaken the Swiss branch of ...
1
vote
2answers
103 views

How to override default Wordpress core language file

I am experiencing a small problem and I have tried several solutions, but none of them has worked unfortunately. Perhaps somebody has a clue why :-) I am using the Syntax theme from Automattic which ...
0
votes
1answer
399 views

How to Fix WordPress Not Saving Settings?

How Can I Manually Fix & What is The Root Cause? The Site Language setting in Settings > General for my site, will not update. It is stuck on English (United States). I have done all the ...
0
votes
0answers
20 views

How to deal with differently translated prepositions?

I'm maintaining a Wordpress site in both English and Portuguese. I'm using .po and .mo files. The site is related to elections. In English, you can always say "Candidates in {{state}}". In ...
1
vote
0answers
59 views

Woocommerce Cart Default Language Not Changing

Recently I was successful in changing my clients woocommerce default language to Spanish in the cart section and product section and had no issues. Because I didn't understand Spanish i deleted the ....
0
votes
1answer
52 views

How to Convert Date to Thai

The Thai text I want to end up with is: อาทิตย์ 03 มกราคม 2016 to อาทิตย์ ๐๓ มกราคม ๒๐๑๖ I don't think it should matter what language but in this case it is Thai. My function is: $strdate = ...
0
votes
1answer
43 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
1answer
530 views

POLYLANG: Hide current language

I used below codes to to add a shortcode, and the css to style. Both working fine in This Website: // PHP: Add this to your functions.php file function polylang_flags_shortcode() { ob_start(); ...
4
votes
2answers
535 views

Edit plugin without hooks in functions.php

<?php namespace wp_gdpr_wc\controller; use wp_gdpr\lib\Gdpr_Language; class Controller_Menu_Page_Wc { const PRIVACY_POLICY_TEXT_WOO_REQUEST = 'gdpr_priv_pov_text_woo_request'; const ...
0
votes
0answers
16 views

How can I specify the plugin language in WordPress?

I develop a plugin written in Portuguese, but WordPress repository "thinks" it's in english. I would like to inform WordPress that my plugin was written in pt-br, even though I have no intention to ...
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
vote
1answer
71 views

Wordpress change Language not working

My issue is, that I want to change the Language to German (de_CH) and BBPress etc. should change the language too. I know not all Plugins are available in German. However whatever I do, add them ...
0
votes
1answer
25 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 ...
1
vote
1answer
458 views

How can you locate the .po file used for translation of a page?

I'm trying to translate a plugin, Dokan Pro, but I can't seem to find the correct .po file that my Wordpress site is using to translate. Part of it is already translated in Italian, but other parts ...
1
vote
2answers
378 views

Wordpress theme with frontend in different language than backend?

I have added the po and mo files via Poedit for Chinese to my wordpress site. I would like to keep my backend in English. How can this be achieved? Is this possible without using a plugin such as ...
0
votes
1answer
32 views

Do translation functions like __e() have to take strings in English in themes?

I'm developing a theme and curious if strings could be written in a language different from English and still be properly translatable? What I mean is when using translation functions in a custom ...
0
votes
1answer
680 views

How to make the front-end RTL without changing the admin panel language?

I'm working on a website that needs to be RTL, after reading some articles online I understood that in order for the website to be RTL I need to change the site language to a RTL language. Through ...
4
votes
1answer
53 views

What is the difference between the Package Language and the Site Language?

What is the difference between the Package Language and the Site Language? If I run: wp core language list I get: en_AU | English (Australia) | English (Australia) | active | available If I run: ...
0
votes
0answers
641 views

Function get_locale always returns en_US in plugin?

I have the following problem developing a WordPress theme and I am here to ask you. While using get_locale() in one of the plugin, its always returns the same en_US . Even though the language set if ...
1
vote
0answers
26 views

Translate a word in a responsive menu

The responsive menu of my web has a word in english: "back" and I have to translate it in Spanish: "atrás". Well, I'm not able to find the word to translate. It's not included in the pot file (...
1
vote
1answer
50 views

Hebrew Characters Have gone bad

I have read this question: I have tried the following: ALTER database mydbname CHARACTER SET utf8 COLLATE utf8_general_ci; ALTER table ext_hebrewText CHARACTER SET utf8 COLLATE utf8_general_ci; ...
0
votes
0answers
816 views

How to Change the Wordpress Locale with the 'locale' Filter?

I am not sure if I am doing this the right way but I want to avoid using a plugin. I have links on my page to change languages between Spanish and English. I am taking care of everything but when I ...
4
votes
3answers
2k views

Changing the language of a single page

I have a wordpress site in a language that aligns RTL, but some pages are in English. These pages look terrible, however, because the English text is aligned with the RTL language, and punctuation, ...
0
votes
1answer
39 views

How to setup language of a date in a plugin

I am working on a Wordpress theme using a template to manage sports team, matches, players, etc. I settled my local wordpress time in French. In the blog part, no problem the post are displaying date ...
1
vote
1answer
112 views

Is it possible to set a different frontend- and backend-language?

my WordPress site is currently set to "English". I like the back-end to be completely in English, so it is easier to follow tutorial instructions etc. However, the front-end must be in German due to ...
2
votes
1answer
19 views

Plugin directory says that my plugin it's not availabe in Spanish, but it is

I uploaded my first plugin to the wordpress repository, it includes the .po and .mo files for Spanish in the languages folder; the Text Domain and Domain Path strings are also specified in the plugin ...
0
votes
1answer
34 views

Woocommerce Languages Files

I installed Woocommerce but it isn't in my selected language. On FTP I can't find any languages files to :( Do you have a downloadlink for the German translation files? Thank you Jan
1
vote
1answer
50 views

'Trick' a plugin (WP-Members) to think the blog language has changed for a single page

I'm trying to avoid installing a full blown multi-language plugin on my site, and I'm nearly there. Just one thing, I need to control whether this plugin – WP-Members – are getting translated or not ...
3
votes
2answers
2k views

Add language/country code to each possible URL

I've been trying to achieve a seemingly simple permalink structure customization without success. The goal is to always have /aa-bb/ in front of each possible permalink, where aa is a language code ...
0
votes
1answer
217 views

Translate site in own text-language [closed]

I have content in two language for my website(English and Arabic) .I want to translate website in these my two custom content language rather then any language translator. Please tell me how can i ...
0
votes
1answer
710 views

“Select your country” landing page. Remember user choice

I'm creating a website for a company that has multiple countries open and different websites for each. I want to create a landing page with the flags for each available country or a "global" site. I ...
4
votes
1answer
1k views

How to set locale in ajax requests?

I'm developing a website that can use both Russian and English as front-end language. The theme has translated strings in both languages. Now my problem is, whenever i use a hook when i'm logged in (...
0
votes
1answer
430 views

2 different languages, 2 different domains: Not sure which choice to make

I am a WP newbie just trying to set up my own personal website. I live in a french area of Canada, so I need a french website, but my native language is english so I want an english website as well. I ...
0
votes
1answer
32 views

What coding language to use?

G'day I've got a Wordpress site (obviously, why else would I be posting in this forum right?) that I want to add a page to which is interactive. I currently have a lot of sports data stored on ...
2
votes
1answer
40 views

Language Translation is not working?

My wpconfig.php file: define('WPLANG', 'tr_TR'); My Code: echo '<div id="wtdCustomizButtonDetailsPage"><a href="'. $getCustomPage .'?type=wtd_sc_designer&wtd_id='. $id .'">'. __('...
1
vote
0answers
84 views

How to include sub directory in sitemap? [closed]

I've been using All in One SEO Pack and Polylang two plugins on my wordpress site. But the Polylang plugin for it needs to create another language's directory, so now the sitemap feature from AIOSP ...
3
votes
3answers
3k views

How can I uninstall a language?

I changed my site language a few times for testing purposes. The problem is that after changing it back, WordPress continues to update plugin language packs. How can I uninstall those languages that ...