The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
10 views

Changing the language for each individual site in wordpress multisite

I currently have a multisite setup and I currently have two sites, one is English (default) and the other I want it to be French. Since I can't have a separate config file and separate language ...
0
votes
2answers
32 views

Switch site language to en_ZA

I've translated my site to English/South Africa - there's different translation for regular English - but I cannot figure out how to switch the site to en_ZA. I have multisite install, and the ...
-1
votes
1answer
18 views

Language of errors in WordPress admin

How can I change the Wordpress error message language? The language of my WordPress installation is set to Russian. The entire site and the admin panels are in Russian, but the error messages (bad ...
0
votes
1answer
18 views

Loading custom language file for plugin

I'm trying to load a custom language file for a plugins to avoid any changes for this file when updating the plugin. I tried several snippets in the functions.php of the theme, but none of them ...
0
votes
1answer
21 views

Is it wrong to use the English version of WordPress to server a site in a different language?

I'm building an online store for an Indonesian market, so the front-end must be in Bahasa Indonesian. Will using the English version of WP, and a theme in English without .po files, introduce ...
0
votes
2answers
79 views

Changing interface language without multisite

I want to change the Theme's interface language without making multisite by passing langauage parameter into the URL. <a href="<?php echo home_url('/')?lang=bn ?>">Bengali</a> My ...
0
votes
1answer
53 views

Changing logo image in header.php upon language detection

So i'm designing a website that will feature the Polylang plugin for automatic language detection, but I've run into a bit of a wall with the logo image. It resides in header.php, but I can't think of ...
0
votes
0answers
10 views

Language placeholders in wordpress?

My site use qtranslate to translate content, now i have a few static words, where can i put and translate this words and how can i get it in my file? For example: English: Product, Italian: Prodotto
0
votes
0answers
25 views

Setting locale based on URL in Wordpress - a better way than this?

I've been searching and experimenting for so long trying to figure this out. How do I set the language on a per request basis in Wordpress? Currently I'm using this: function mysite_lang_support() { ...
0
votes
1answer
31 views

Multisite use language code as subdirectory

I installed wordpress in the subdiretory "/de" and activated multisite features. The Main-Blog has the url/path: mysite.de/de Now i want to add a second site for the english language with the ...
-1
votes
2answers
374 views

Theme's text domain & language.PO file not working

I can't get my translations to work in my theme. Here is what I have In functions.php, I have: load_theme_textdomain( 'transparent', get_template_directory_uri() .'/languages' ); I have ...
0
votes
0answers
33 views

Can't change local language with function

I'm trying to add a function in my theme to change the local language for certain pages. function nfo_redefine_locale($locale) { global $locale; $locale = 'de_DE'; return $locale; } ...
3
votes
2answers
99 views

How to change the language for the front-end only?

I have installed a wordpress theme, i can see the .mo and .po /public_html/wp-content/themes/themename/lang, the language I want to use is available. Could you please advise on how to use a specific ...
0
votes
1answer
25 views

Can I have two different theme for two different language?

I have to develop a multilanguage website using WordPress (Italian and English) and I want to know if I can have a theme for the Italian version and a differen theme for the English version. Can I do ...
0
votes
0answers
49 views

Timestamp translation is not working with buddypress and wordpress

I would like to change the timestamp of activities to another language. Example : member joined group A since 2 hours the part that should be translated in my question is hours. I tried many ...
1
vote
0answers
67 views

Frontend image uploading from frontend cant handle hebrew names

i'm using the insert_attachment code in my functions.php : function insert_attachment($file_handler,$post_id,$setthumb='false') { // check to make sure its a successful upload if ...
0
votes
2answers
118 views

Is it possible to check is loaded language files correctly with WordPress plugin?

I have a plugin to be translated. I have done following tasks: 1. Loaded the TextDomain $my_td = 'mysignup'; function my_signup_textdomain_init() { load_plugin_textdomain( $my_td, false, ...
0
votes
1answer
41 views

Wordpress sites translate dynamically generated Homepages

So I'm having trouble finding a way to translate the homepage content on a few pages I manage. They can be found here: KorgCanada.com (Theme is Simplecorp, and the support forum offers no help) ...
0
votes
0answers
39 views

Multisite - network language settings not updating individual sites

I have a multisite installation of Wordpress / Buddypress. (Versions 3.6.1 and 1.8.1 respectively). I have created a .mo language file which I have named en_GB, because I want to customise some ...
0
votes
1answer
113 views

Changing wordpress default language

I'm trying to change the wordpress default language from english to swedish. I uploaded the language directory to wp-content with the swedish .mo file. I've defined language in the config.php file ...
2
votes
1answer
97 views

URL to download latest version of WP for other languages than English

I'm considering he possibility of automating/scripting a basic WP install. Part of it will include downloading the latest WordPress version. The en-us version can be obtained by downloading ...
1
vote
3answers
177 views

Possible to add a language file to a plugin without adding .po/.mo files to plugin directory?

I need to add a language file to an existing plugin. Not for translation reasons, but because I'd like to change all occurrences of a certain word to something else. While I could just drop another ...
0
votes
1answer
84 views

How to handle a Wordpress blog with articles in different languages?

Most multilanguage plugins have the approach to provide each post in different languages. In that case, qTranslate or WPML are good plugins. But in my case, articles have one language and instead of ...
1
vote
2answers
137 views

How to trigger the core WPLANG to make automatically set a language when the theme is activated? [duplicate]

I'm developing a theme especially for Bānglā blog posting, and it'd be under GNU license. I questioned about a Calendar Widget translation with some problems today, and got a comment saying: I'm ...
0
votes
0answers
34 views

Multilingual Wordpress page - using URL to determine language?

I want to create a webpage that supports more than one language, but I don't want to use a plugin for that if it's possible. I am already loading the theme translation depending on the URL; if ...
0
votes
3answers
368 views

Redirect home resets (qtranslate) language

I'm developing a website for a product (audio speaker) I'm launching and I'm experiencing an issue I can't resolve (on my own ;) ). I've added this code to functions.php to disable dashboard access ...
0
votes
0answers
66 views

Font type by language: Latin - Greek - Cyrillic

How I get type of font (Latin, Greek, Cyrillic), which is required in wordpress site? It may be based on language. I need this for including Google font - I don't want to include all font sets. I ...
0
votes
1answer
590 views

How do I change the value of lang=en-US

I have noticed that in the <html> tag on my WP site that the language is defined as US English. <html lang="en-US" prefix="og: http://ogp.me/ns#"> I would like to change it to British ...
0
votes
1answer
232 views

How to set “lang” attribute for post/page title?

I am creating multilingual website in Urdu & English lanugage on Wordpress. Major part of site is in English. Only article's body (i.e paragraph & headings etc) are in Urdu. To assign Urdu ...
0
votes
1answer
16 views

How to code arrays in other language which requires UTF-8

I´m changing a code to Rusian but the Admin panel get freeze, I need to deactive a plugin to access again the admin panel; there is no problem on front end. the lines I´m changing is $listing_types ...
0
votes
1answer
181 views

Change content language for one page

I have one page witch has a different language then the rest of the site. I looked in to many plugins but I can't find a way to chance the content language <html lang="nl-NL" prefix="og: ...
2
votes
1answer
132 views

How to use both British and American English?

I've taken over a website targeting different markets using five language versions, each is setup as it's own site within a multisite network. The main website mainly targets a British audience and ...
0
votes
1answer
60 views

Copy site on same server?

I have a wordpress installation running in my root folder, and I want a copy in /en (including theme, posts and pages). I want a bilingual site and found the plugins too complicated for me - so I ...
4
votes
2answers
771 views

HTML inside __() or _e() language translation string

What is the proper approach to building translation strings? For example, echo __( 'Hello ' . $first . ' you owe me money.' ); echo __( '<div><p>Top: ' . $t_margin . '</p>' . ...
0
votes
0answers
40 views

Backend language restore in english

I want my frontend to be in Spanish and my administration panel in English. After playing with some plugins and settings I managed to have the frontend in Spanish but by mistake I switched the admin ...
0
votes
1answer
82 views

Having problem in using wordpress with an other language

I am using Persian Wordpress but I have a problem. when I want to publish a new post in Persian , I get all Persian letters alternated with question mark -"?" -. My wp-config.php file set the ...
0
votes
1answer
43 views

localization for Permalink

Originally, wordpress creates permalink like /2013/07/ , /archives/123 here I want to localize with my native numeric numbers . is it possible to do like that ?
0
votes
2answers
946 views

Where is the right .mo file inside the language repository?

I need to translate my Wordpress in Italian. Following the instruction written on WordPress in Your Language, I've searched my .mo file inside the Language Repository but I've some problems. The ...
0
votes
1answer
290 views

setlocale for date

So I purchased a premium wordpress theme, but I can't get through its Polish localization - the dates outside the_time or the_date are displaying in English (default server's language). I read that I ...
0
votes
1answer
59 views

Can a plugin be run in a different language than WordPress?

I am working with a site that is running WordPress in English, but they would like to run one of their plugins using the Welsh language. We already have the appropriate .po/.mo files for the plugin, ...
0
votes
1answer
62 views

How to use Greek characters/letters in a query?

I have a problem with Greek characters in a query. Here is the code Using the Greek characters in the 'meta_value' => 'Ναι' the query can't work, because of the language. How can i make it work?
0
votes
2answers
500 views

Wordpress admin not changing language

I'm struggling to get a nb_NO version of the wordpress admin interface. Here's what I've done so far: Installed latest wordpress from wordpress.org Moved installation from root to wp/ - site working ...
0
votes
0answers
60 views

Theme not changing the language

I'm trying to change the language in a theme, downloaded the theme' default.po/mo, translated it through 'poedit', and uploaded the files again. Furthermore I changed the wp-config so it now incl ...
0
votes
0answers
809 views

How do I override a parent theme's language files with a child theme?

I have a parent theme and a child theme, I would like to override the spanish .mo and .po files in the parent theme (or add them if they are not present in the parent theme) with the es_ES ones in my ...
0
votes
1answer
346 views

Locale switching with a “language” taxonomy

I know that it's possible to switch the WP locale by using URL paramaters, as described here, but I'm trying to build a method that would entirely rely on a custom "Language" taxonomy. What I ...
0
votes
1answer
750 views

Adding Language Switcher in header , WP

Currently, I'm building multi languages blog. As I know, almost WP language translator plugins are based on .po & .mo files. here is a problem. A new language what I'm going to add does not ...
0
votes
1answer
474 views

Buddypress Language Files Question

I have one question. I use latest Wordpress and Budypress. I have language files for buddypress - .po and .mo. My question is where I need to put the files, how I need to rename them and is there any ...
1
vote
2answers
429 views

variables in translatable text

I am adding a list of suggested plugins to my theme using TGM Plugin Activation - https://github.com/thomasgriffin/TGM-Plugin-Activation/ However, when I run theme check, about 40 or so ...
0
votes
1answer
127 views

Language translation on a fresh english installation

i need to translate an english wordpress installation to italian language,but i would like to mantain both languages en/english, so the user can choose which to turn on fron the frontend side. I need ...
1
vote
1answer
261 views

How to change the language of the 'Reset Password' page

I have a WooCommerce powered WordPress website. In this website a user can login to order products, basic WooCommerce functionality. The site is translated using qTranslate. I can translate ...