The tag has no wiki summary.

learn more… | top users | synonyms

15
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
814 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
391 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
824 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 ...
3
votes
2answers
73 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 ...
2
votes
3answers
1k 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
3k 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
108 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
49 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
1k 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
82 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
206 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
170 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
89 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
169 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
3answers
126 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
2answers
93 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
365 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
768 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
589 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
252 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
54 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
210 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
26 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
42 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
281 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
422 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
2answers
527 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 ...
0
votes
4answers
1k 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
2answers
411 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
1k 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
19 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
1answer
23 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
2answers
65 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
67 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
73 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
257 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
130 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: ...
0
votes
1answer
194 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
49 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
397 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 ...
0
votes
1answer
124 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 ...
0
votes
1answer
213 views

Unicode Problem

I am just in the test phase to launch our News Portal in Hindi Language. For writing the posts in hindi, I've installed Indic IME plugin which translates my english word to hindi format (like google ...
0
votes
2answers
278 views

permalink error when modifying sanitize_title_with_dashes function

By default, wordpress remove accents and weird characters to generate post_name in wp_posts table. This post_name is used when we change the permalink structure to /%postname%/ or some similar ...
0
votes
1answer
114 views

wp language changed after upgrading to centos 5.8

I have a spanish wordpress blog. after upgdaring centos 5.7 to 5.8 the language changed to english . how can I recover it to spanish ?
0
votes
3answers
2k views

Is it possible to convert wordpress language files .mo to .po (and vice versa) in windows? [closed]

I know how to convert these files in linux, but I am using Windows 7. Is it possible to use some kind of software and convert these files?
0
votes
1answer
232 views

language support in a custom urdu theme

I am planning to start work on an urdu (language in pakistan) website theme. basically, it will be a newspaper themed website. Can anyone tell me how can i add urdu support in my theme. I dont want to ...