0
votes
0answers
11 views

How can I stop wordpress translating my page template names

I am using wordpress multisite to manage different language versions of my site. This is the code I am using to achieve this /** * Language Support */ add_filter( 'locale', 'my_theme_localized' ); ...
0
votes
1answer
13 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', ...
1
vote
2answers
127 views

How to tell a theme to use different .mo and .po files?

I have a theme which loads .po and .mo files to display strings in English. I want to have only one language (Polish), but those two files are en_US. I tried replacing content in the en_US.po file but ...
0
votes
1answer
198 views

WPML language tags (Qtranslate feature)

I for many years used qtranslate plugin for translating my wordpress websites, but for now I decided to use other plugin, called WPML. And now I'm struggled with one problem: I am missing one ...
0
votes
1answer
52 views

Change language for each website using multisite

I am using wordpress multisite and have three different sites setup; Default (English) German Japanese I've got all the sites working seperately which is fine. My theme has the .mo and .po files for ...
0
votes
1answer
422 views

Translate placeholder text in search field

I want to translate the placeholder attribute in my search box. I am using the WPML-plugin to translate all text. How can I accomplish this? My code: <input type="search" class="search-field" ...
0
votes
1answer
216 views

Translate a theme with a PO file

I'm new to WordPress. two weeks ago I downloaded a theme for my Arabic language blog, and the theme is scripted in English but it contains a folder called languages/ and inside it has two files one is ...
4
votes
2answers
903 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
179 views

Website in multiple Language

I want to make Sit in Wordpress in which I want to make content in ENglish and Gujrati Language . WHen Admin create a Page in English at that time Admin want to create content with Gujarati Language. ...
3
votes
2answers
346 views

What is the purpose of adding a .po file?

I added the below code to the function.php of a .po file and finished localization and edited the webconfig.php to add Arabic language but nothing happened. I want to know what should happen. Will the ...
1
vote
1answer
217 views

Force Plugin to English Translation

Here's my thing: I'm using a plugin that has multilang capabilities. The point is that the language translation in my country lang is very bad and it makes more complex than simpler my work. :D. So ...
3
votes
3answers
2k views

Titles in my sidebar widget appear in all languages - with qtranslate

So here's my code, using the qTranslate plugin: query_posts(array('post_type' => 'uk_blog', 'numberposts' => 2)); $i = 0; while(have_posts()): the_post($post);?> <div ...
0
votes
1answer
236 views

Transposh Japanese language transaltion not showing up

If you go to this site and click on japanese in the top left corner, it shows the japanese page with this showing up: <!--[if gt IE 8]><!--> <html class="no-js" lang="ja" dir="ltr"> ...
0
votes
1answer
200 views

WordPress For Urdu Language

Can I use WordPress for Urdu Language? I want entire site to be toggled-translated in Urdu Language with one click... Is it possible to do it with some plugin or do i have to write manual codes for ...
1
vote
1answer
439 views

Wordpress Multilingual Theme using Multisite

I have a site that needs to be billingual, English and French. I've created two sites in WPMU, and set the language settings of the second to fr_FR. Under the directory: /wp-content/languages/ I ...
6
votes
1answer
2k views

Setting WPLANG from a plugin

For a single site wordpress, the language must be set from wp-config.php's WPLANG, but is it possible to set from my plugin which override the default value?
0
votes
1answer
752 views

WP-e-commerce (getshopped) Hebrew language files - where can I get them?

I’m working on a dual language website (english+hebrew) the website uses wpml+wpec. I’m looking for the hebrew language files (mo/po) – where can i get them?
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 ...
5
votes
3answers
593 views

Localization: I want the backend: english and frontend in defined language

I'd like to have the backend of Wordpress in English and use a different locale for the frontend so far I figure out perhaps I could do it by setting in the wpconfig the locale I want to use in the ...