The tag has no wiki summary.

learn more… | top users | synonyms

16
votes
3answers
4k views

Change language by clicking a button

The goal is to offer a button/select drop-down or similar to switch the public interface1) language on the fly. What I'm searching for Plugin or Theme Code... ... or Ideas Using a work-around with ...
6
votes
3answers
1k views

How to keep plugin translates after updates?

http://wordpress.org/extend/plugins/bbpress/ bbpress' language folder ( wp-content/plugins/bbpress/bbp-languages ) have that warning: /** * Do not put custom translations here. They will be deleted ...
5
votes
1answer
1k views

Rewrite Rule for Multilingual Website, Like qTranslate?

I would like to write my own little plugin for language switching. For that, the very first thing would be to get the rewrite rules running. I have been looking around the web for 2 hours, but I ...
4
votes
2answers
944 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>' . ...
4
votes
3answers
119 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 ...
4
votes
3answers
1k views

How do I change the language of only the login page?

My wordpress blog is set up as de_DE. This means that my login page is also displayed in de_DE. I would like to only have the login page in en_US. So, How would I programmatically change a single ...
2
votes
4answers
2k views

Change page template programmatically ?

I have two page templates and Qtranslate installed. I want to choose one or another depending the language selected. Can I do something like this ? if($q_config['lang'] == 'en'){ // load ...
2
votes
2answers
4k views

Filter the URL of next_posts_link & previous_posts_link

I am working with the qTranslate plugin to create a multi-lingual website. The plugin does a great job of translation except for on the next_posts_link & previous_posts_link template tags. When ...
2
votes
1answer
149 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 ...
2
votes
1answer
52 views

Make changes to translation?

I'm using finnish translation of wordpress. I found the fi.po file which contains all the translations, but for some reason, editing the contents wont edit the contents of the page. Can I make ...
2
votes
1answer
2k views

Getting a blog language (site “lang_id” field vs the WPLANG setting)

There's a wp_blogs table which is very usefull when you want to get a list of blogs (and this is what I need to do). The problem is that I can't seem to be able to get the blog language from the ...
2
votes
1answer
100 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 ...
2
votes
1answer
236 views

Wordpress language switcher

Is there an easy way I can switch between languages (perhaps with some flag icons) on a single Wordpress site? Can this be done with 2 content editors on the same page, or will I have to resort to a ...
2
votes
2answers
190 views

Wordpress native thickbox language

Is there any clean way (not overwriting wp-includes\js\thickbox\thickbox.js file) to translate english next/ prev/ image # of # and Close tooltip in Wordpress native Thickbox script?
2
votes
1answer
108 views

Overwrite default WordPress wording

I'm working on a plugin that changes the password requirements to be a bit stricter, however wherever there is a password field to create a password, WordPress' hints are now no longer accurate (e.g. ...
2
votes
1answer
197 views

How can I customize the upload error message in Wordpress?

After following the guide for How can I prevent uploading bmp image? to remove bmp (and in my case tiff images) from being uploaded, I tested and it is working, but noticed users are now getting the ...
1
vote
2answers
596 views

How to set a custom title per language?

I am running Qtranslate for my website. I am very impressed by this plugin. Now my only problem is that I cannot set a custom title and description for my homepage per language. I can only setup one ...
1
vote
3answers
186 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 ...
1
vote
1answer
28 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 ...
1
vote
2answers
146 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 ...
1
vote
2answers
453 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 ...
1
vote
1answer
51 views

Were the language toggles removed from WP recently?

I need to change my weblogs language to "English". I am refering to the article: http://en.support.wordpress.com/language-settings/ which allegedly was "Last modified: July 16, 2012". I only looked ...
1
vote
1answer
955 views

Why load_textdomain work but not load_plugin_textdomain?

In my plugin's init function load_textdomain( 'myplugin', ABS_PATH_TO_MO_FILE ); // OK load_plugin_textdomain( 'myplugin', false, ABS_PATH_TO_LANGS_DIR); // No effect echo( __('Test', ...
1
vote
1answer
19 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
25 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 ...
1
vote
1answer
28 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 ...
1
vote
1answer
201 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: ...
1
vote
1answer
664 views

conditional (theme) language selection at 'runtime'

I have two issues to change the language for the theme at 'runtime'. I'm not sure about my question title, hope my description helps. I already use a plugin Polylang and there nice features: link ...
1
vote
1answer
257 views

Can I use two languages together in WordPress

com blog can I use two languages, lets say I want to have the Language English and other language. I also need my audience to write comments using either in Engish or another language. Is that ...
1
vote
1answer
2k views

How to put a Worpdpress theme in spanish (having the po file)?

I am building a Wordpress blog system in Spanish and I'd like to have the default theme also translated to "es_ES". I am already running this Wordpress installation in Spanish. What I'd like to know ...
1
vote
0answers
69 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 ...
1
vote
1answer
270 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 ...
1
vote
0answers
27 views

Website in one language, but admin backend in English [duplicate]

Possible Duplicate: Localization: I want the backend: english and frontend in defined language I have installed WordPress in Greek language, because I need the greek frontend translation. ...
1
vote
0answers
45 views

Inconsistent translation on a WP site

I have a WP site that I installed with the French translation, as provided by Wordpress France, and which is quite accurate. I wanted to apply an English-only theme, which is not using the PO files, ...
0
votes
1answer
737 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
2answers
35 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 ...
0
votes
2answers
1k 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
2answers
535 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
4answers
2k views

Translate wordpress date from Italian to English

I'm developing a wordpress based site in English but I've installed the Italian version of it... In my blog page, I get dates, exactly months, in Italian instead of English... How can I translate ...
0
votes
1answer
16 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
2k views

Redirect user based on his language and country using WPML

I am using WPML as a languages solution in my blog (in my case it's English and Spanish) I would like to know if there is a simple way of detecting where is a user coming from (which country.. I ...
0
votes
1answer
21 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
35 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 ...
0
votes
2answers
134 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
134 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 ...
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 ...
0
votes
3answers
394 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
338 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
497 views

Buddypress Language Files Question [closed]

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 ...