Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
6 views

Translate language locally by Machine Object(.mo) method

I am using WordPress 3.9 and using papercut theme in my website. For language translation i have used Transposh plugin, but client wants language translation locally. I uploaded .mo files to ...
0
votes
0answers
31 views

How to Change my website language from English to Danish?

I have developed a website in Wordpress in english language. Now I want to change the language to Danish. Please help me how to change it.. I want to change by easiest and very less time consuming ...
0
votes
1answer
19 views

How to identify WordPress language updates?

How can I clearly identify the WordPress language file that triggers the language update notification? In the current situation I don´t want to auto-update - I tried to manually update the WordPress ...
0
votes
0answers
44 views

How to dynamically change the locale?

Sorry about making this so lengthy. I just want to explain everything clearly and walk you through what I have tried so far to solve this problem. There is an English and a Spanish version of the ...
1
vote
1answer
39 views

Setting the language of RSS feed

What is the simplest / easiest way to set up the language of the rss feed. Currently, that field in my feed xml is blank, it looks like this <language></language> and i would like it ...
1
vote
1answer
57 views

html lang=“” instead of lang=“en-us” - why?

In a few installations of wordpress, the beginning of the html tag looks like <html lang="en-US" ... despite that in wp-config no language is specified. define('WPLANG', ''); Hovever, in one ...
2
votes
1answer
50 views

Prevent WordPress updates from overriding custom language translations?

my site's language is persian and persian is a right-to-left language. Wordpress has a default installation package for this lang but for some cases like very bad translation for dashboard or default ...
0
votes
1answer
18 views

Translation not working in sprinf variable

I have a function to get the taxonomy term name like this: function get_term_name($taxo){ $terms = get_terms($taxo); $html= ''; foreach($terms as $term ) { $html .= sprintf( __( '%s', ...
0
votes
1answer
20 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
38 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
22 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
39 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
24 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
96 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
102 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
30 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
40 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
922 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
37 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
3answers
185 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 ...
1
vote
1answer
29 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
58 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
77 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
184 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
42 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
47 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
202 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
113 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
223 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
87 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
196 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
44 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
441 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
1answer
1k 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
328 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 ...
1
vote
1answer
242 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
154 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
86 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 ...
5
votes
2answers
1k 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
1answer
101 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
48 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
2k 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
425 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
65 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
64 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
660 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 ...
1
vote
0answers
1k 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
389 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 ...