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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

The tag has no usage guidance.

0
votes
0answers
17 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
19 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
38 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
31 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
77 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
371 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
13 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
21 views

Add a custom setting section in general(slug) which can change html lang

I'm trying to change html lang='en-us' to any other language by simply adding a language option(input type) in WordPress admin general setting. The selected option is saved in the database and ...
0
votes
1answer
31 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
32 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
19 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
104 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
166 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
28 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
153 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
28 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
379 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 ...
0
votes
0answers
10 views

Detect the file that contains a string to translate

I want to translate the string "products not found". I'm not able to find it because it's not in the language folder of the filter product plugin that I'm using. The developer of the plugin has told ...
0
votes
0answers
108 views

Change language of a plugin woocommerce filter

I'd like to change the language of the Woof, Woocommerce Product Filter plugin but I can't find how. Take a look to the URL of my shop page where I'd like to change it: https://www.editorialufv.es/...
1
vote
0answers
22 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 (...
0
votes
0answers
70 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 ...
1
vote
1answer
29 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
425 views

How to change default Language of wordpress site not dashboard

Current Site language is US English but want to change into Spanish changing language in setting>general>language changes the language of dashboard and website language remains same but what ...
0
votes
0answers
399 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 ...
0
votes
0answers
68 views

Can't change backend language from polish

I am working on a site originally developed in polish, no updated to latest version of wp and theme updated etc. The backend menus are largely in polish although some bits appear in english, I'm ...
0
votes
0answers
30 views

child theme textdomain: won’t load at ALL!

My parent theme is installed in “business-elite” folder, and my child theme in “orastudio” folder. the parent theme functions.php calls define("WDWT_DIR", get_template_directory()); and then ...
2
votes
3answers
517 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
24 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
58 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
16 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
19 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
0
votes
1answer
25 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 ...
1
vote
2answers
1k 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
73 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
409 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
598 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
261 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
35 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
39 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 ...
1
vote
1answer
1k 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 ...
0
votes
2answers
409 views

How to change language file used by _e function

I am trying to make my own language switcher for my WordPress site. I am generating all labels using the _e and similar functions. So I am guessing the only thing I need to do is to change the locale ...
0
votes
1answer
401 views

How do I change a plugin language of only one page?

My WordPress blog is set up as nl_NL. This means that my bookly plugin is also displayed in nl_NL. In the Plugin directory there is a folder languages with loads of other languages. I have one page ...
0
votes
2answers
52 views

Search terms in other language turns out to question mark and symbols

I am facing one issue while i'm creating my website. I have a search bar on my website. I tried to type and search in chinese, but the search terms on page that i entered become question mark and ...
0
votes
1answer
20 views

Alter theme pages on language switch

I stumbled upon an issue that I'm not sure how to go forward with. My theme creates two pages on activation. The fact that there are two doesn't matter, it could be 10 pages but just for the ...
0
votes
1answer
138 views

Japanese content on english page?

A client's site is english and he wants to have one page where the header & footer remain in english but the page content(text & links) is Japanese. I'm wondering what the best practices for ...
0
votes
1answer
48 views

Translation plugin with default language?

I'm running a Wordpress 4.6 site with a modified twenty thirteen theme with content written in French. I need to setup a translation plugin for my client that would allow anyone to translate a page in ...
3
votes
0answers
129 views

allow arabic letters when register new account

How can allow arabic letters when register new account ? i don't need to lose any security. If any of us, Arabs, want to register in any wordpress blogs we have to use English letters in “username” ...
1
vote
1answer
141 views

Change the backend language of a single plugin

I'm managing a WordPress installation which main backend language is Italian, mostly due to the needs of the Authors and Editors. I found a plugin that functionally fits my needs perfectly, but it ...
1
vote
0answers
659 views

Force language in translate function

In WordPress, I can easily get the translated string with current language with $s = __('string', 'domain'); However, if I am currently in en, if I want to get the Japanese version of string, is it ...