The tag has no usage guidance.

learn more… | top users | synonyms

16
votes
3answers
8k 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 ...
8
votes
2answers
7k 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>' . ...
8
votes
3answers
2k 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 ...
7
votes
1answer
369 views

Different back-end language for different users?

I've been searching the internet for the last hour but I can't find anything up-to-date to do this (all the suggestions are about plugins that haven't been updated in ages, see this question). Is ...
6
votes
1answer
3k 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 ...
5
votes
3answers
3k 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 ...
4
votes
1answer
341 views

Override default WordPress core translation

WordPress is set to Dutch language. When I use get_the_archive_title() my theme correctly outputs "Categorie: Category-name" on a category archive page. However I'd like that to read "Sectie: ...
3
votes
3answers
1k 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 ...
3
votes
1answer
270 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 ...
3
votes
1answer
2k 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 ...
2
votes
2answers
5k 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
3k 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 ...
2
votes
4answers
3k 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
1answer
208 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 ...
2
votes
1answer
147 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 ...
2
votes
1answer
235 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
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
25 views

how to modify language in a child theme

I have purchased a theme, and have created a child theme. In the website's sidebar is a search form, with a default placeholder text I would like to change. The text for this placeholder is located ...
2
votes
1answer
315 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
241 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
60 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
2answers
293 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
293 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
668 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
1answer
267 views

Creating a WP site in Cyrillic

I'm creating a WP website that is in Russian. This is my first website in any language other than English. I'm trying to understand what modifications I need to do to make the website reads in ...
1
vote
1answer
2k 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
3answers
470 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
3answers
819 views

Can I change my language to English?

I created my account and first blog while waiting at the airport in Switzerland. Now my admin page and blog are in German! I can't understand what most of it means, so I can't seem to be able to ...
1
vote
1answer
47 views

Adding text in more than one language (at the same time)

I am building a wordpress site. On the upper-right hand corner of every page on the site I am going to have two (or more) flags, and clicking on any given flag should cause the site to display the ...
1
vote
2answers
331 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
778 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
55 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
2k 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
38 views

How to write Hebrew characters?

Our database is set to: define(‘DB_CHARSET’, ‘utf8’); define(‘DB_COLLATE’, ”); As a result, entered Hebrew characters in a post are turned into question marks (?) on saving of the post. What is the ...
1
vote
3answers
44 views

X-Axis of Site is Messed Up Because it is in Hebrew

One of my client's sites are in Hebrew which is a right-to-left language. I'm using the MH Newsdesk Lite theme found on wordpress.org . The theme is using a core wordpress generated class ...
1
vote
1answer
830 views

Uninstall languages

Hosting installed WordPress with like a gazillion languages. Can I just remove the language .mo and .po's for the languages I don't want or will that break something unintended?
1
vote
1answer
33 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
526 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
2answers
600 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 ...
1
vote
1answer
1k 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
276 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
3k 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
1answer
8 views

Woocomerce language

I have no idea why woocomerce is not changing language. When I change language in wordpress everything is fine, but woocommerce language is not changing, but only in my language (Lithuanian lt_LT), in ...
1
vote
0answers
24 views

Can't change language (only “English (United States)”)

Wordpress should always allow me to change the language, anytime. However, sometimes I get stuck in these kind of situations, where I only get to choose "English (United States)". (Settings > General ...
1
vote
0answers
17 views

multiple language directories

I keep wp-content and wp-config.php outside the wordpress tree and store everything in a git repository. This should make the update of the core very simple. I just need to remove the wordpress ...
1
vote
0answers
15 views

Is there any workaround to a core update still showing after core update if language set to anything other than US English

I build sites typically in UK English, however I typically leave them in US English because if I set system/general/site language to anything other than "English ( United States)" then when I do ...
1
vote
0answers
89 views

Prevent wordpress from updating language files

I would like to prevent wordpress from updating language files in languages folder. Not only in case of automatic updates, but also in case of manual ones. I have tried few solutions including change ...
1
vote
0answers
128 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
654 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
32 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. ...