Tagged Questions

WordPress does not support a bilingual or multilingual blog out-of-the-box. There are however Plugins developed by the WordPress community which will allow you to create a multilingual blog easily. Creating a mulitlingual blog is basically installing WordPress in more than one language and letting ...

learn more… | top users | synonyms

1
vote
1answer
21 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
0answers
16 views

How make a multi language routes, with rewrite rules or rewrite endpoints?

I want to know a concept of making a multi language routing system for WP. That is the best practice, to make this routing system with add_rewrite_rules for pages post arhive etc in part, or to use ...
1
vote
2answers
46 views

What is the correct way for multi-domain and multi-language website?

I have very interesting request from a client: They want to have website in two languages for different countries and also are asking whether it possible to have domains for each langues. Goal is so ...
1
vote
1answer
41 views

Use custom template on certain URLs

I'm building a simple two language site. I'm using Polylang for posts, and also have a custom post type, "Artist." In order to keep it simple on the back-end, I'm not using Polylang, just a few custom ...
0
votes
0answers
13 views

Multi Language permalink for author page in wordpress

I want to have 2 different permalinks in 2 different language for author page. Is there any way to make a different author template except using author.php because I am using author.php for the main ...
1
vote
1answer
45 views

Change “en-US” to “en”

Hey I am trying to edit the WP theme files, and I am using bloginfo('language') to get the language of the page. However, it returns me "en-US", which does not work while redirect the page. The site ...
0
votes
1answer
30 views

Disable sanitize_file_name on upload without modifying functions.php

I am looking for a way to disable sanitize_file_name function without modifying the functions.php or formatting.php. I am uploading files that have other language file names and all I am getting are ...
0
votes
0answers
18 views

What are the downsides to uploading filenames in different languages?

I am building a Wordpress site that is going to be multilingual (using WPML) and it will host a ton of resources in multiple languages - from Chinese to Russian to English, etc. We wanted to upload ...
0
votes
0answers
38 views

Issue with pagination() get_pagenum_link() and language permalinks

I'm quite new to Wordpress and php. I managed to put up a site running on three languages with a plugin called "qTransalte" and a theme that had blog posts, slide posts, portfolio posts and highlight ...
0
votes
3answers
49 views

How to create custom post type like Page

I want to create a Custom Post Type like Post or Page, It should have Page templates Option. This is for multilingual site. Any comments on this ?
0
votes
0answers
15 views

Create custom Rewrite Rule

Hi I'm trying to create simple multilingual plugin. For that I need to create RewriteRule, for example. example.com/fr/post1 or example.com/post1 How do I achieve this?
0
votes
2answers
23 views

Translating my custom theme, always translated version?

I have a custom theme which is in Dutch and now i am trying to translate the theme into english. For this i am using poedit, and converted some theme strings into _e('string-is-here') I save both ...
0
votes
0answers
14 views

How to switch a translation after user switched the language?

I have theme prepared to be translated with __() and _e() functions, they were used without domain, just __( 'TEKST' ), not __( 'TEKST', 'domainhere' ). Next, my theme has .po and .mo files in ...
0
votes
0answers
16 views

Multi-Language is not supporting

Burmese language is not supporting in wordpress backend. I want to write some content in Burmese/Myanmar language is there any plugins or fonts which can be used in wordpress. Or any method can be ...
0
votes
0answers
14 views

How does the system know where to get text-string (in different language) from?

I have this code in functions.php in a theme that is used for creating header-titles in different tables $content_prodsection_headers = array(); $content_prodsection_headers['title'] = 'Namn'; ...
0
votes
0answers
38 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 ...
1
vote
0answers
112 views

Wordpress multisite change language

I want to change site language through cookies. As I have multisite, so define('WPLANG') is not working in wp-config.php. So I added hook to filter "locale". But still not working... What to do ? ...
0
votes
0answers
16 views

Issue to set a default language

I'm working on a multiple language site (Catalan and Spanish). I set by default Catalan as the main language but we found that users who navigates with spanish browsers the content appears in spanish ...
0
votes
0answers
18 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
19 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
32 views

New WP installation due to language issues

My current WP installation is in English, I dowloaded the theme (So cute by YIT) My objective is to set up a store in swedish. I've been struggeling to translate strings etc, I've tried the WPML ...
0
votes
0answers
10 views

Multilingual attachment links

I have a site that operates in English and French, and uses wp-document-revisions to manage file attachments connected to a custom post type. The function works flawlessly for English, but I am ...
0
votes
0answers
11 views

Multidomain site with custom permissions

We are going to build single instalation wordpress multidomain site, where each domain is used for different language. domain.com - english, domain.lv - latvian, domain.ru - russian, etc. All sites ...
0
votes
1answer
35 views

What's the best approach to do this?

I want to start a new site where I want the main page to be a static page showing information about myself, a kind of resumee without personal details. Then, there would be a site.com/blog/ where I ...
0
votes
1answer
31 views

How can I have different langauges in wp-admin on a multisite installation?

Changing the admin language for a single installation is easy. But I'm wondering, how can this be done for a multisite installation? By default it's English, but a customer would like to have it in ...
0
votes
0answers
74 views

Development of arabic version of wordpress site without using plugin or google translate

I got a site which is now in English and the site is just static without any dynamic functionality. So, the client wants to frequently edit the site content by its own and he also told me to change ...
0
votes
1answer
34 views

How to query the custom fields by language?

For each post, there is a custom field name "Function", the key/value pair is like this: Key : Functions Value : <!--en-->Nourishing Yin and invigorating the vital essence of ...
0
votes
2answers
39 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
vote
1answer
46 views

How WordPress is able to change locale without using setlocale

In my plugin I print out the current locales via $originalLocales = explode(";", setlocale(LC_ALL, 0)); var_export($originalLocales);die; Obviously the result is same as the WPLANGdefined. ...
2
votes
1answer
87 views

How to update records using $wpdb?

I am migrating non-wp database to Wordpress (for the first time in my life, and hopefully the last). As both new and old websites are multilingual, one of the tasks for me is to connect the articles ...
0
votes
2answers
99 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
0answers
57 views

Hijack site url on sub domain for translation

Ok, i have complicated issuse (i think)... i created a site that has 3 languages without any plugin since none meet my needs.... i create 2 sub domains named: he.example.com en.example.com ...
1
vote
1answer
207 views

date_i18n() issue

I'm trying to use date_i18n() to display a localised date in my theme. <?php echo date_i18n( 'F j, Y', strtotime( get_the_time( "Y-m-d" ) ) ); ?> However, this always returns the English ...
1
vote
0answers
195 views

How to make a bilingual front-end post using the plugin WP User Frontend and Polylang or qTranslate?

I'm implementing a bilingual blog site (English and Japanese). It contains front-end user posting and user registration. So, I used WP User Frontend. For multilingual content, I tried qTranslate and ...
1
vote
2answers
255 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
46 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
89 views

Multilanguage site with two domains

I want to make the same site in two languages, spanish and english. After test a pair of plugins and see which options exists looking at some technical blogs, I think the better is to make two blog ...
0
votes
1answer
37 views

how to have __() translating in languages different from admin?

I use native wordpress multisite for languages (it, en, fr, de, es). I need not to use a plugin. Still, all the admin dashboards will be in italian, because editors are all italian people. I know ...
1
vote
1answer
90 views

How to let users change site language?

I translated all my theme strings and saved in .po and .mo files. I tested the implementation and it works fine, however I'm not sure how to let users choose their own language. Are there any ...
0
votes
1answer
294 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
0answers
101 views

Using fallback language with polylang and using pagination in different language leads to page not found

Following scenario I am using this in my archive.php to fall back to german in case there are no translations: if (is_category()) { $categories = get_the_category(); ...
0
votes
0answers
268 views

Polylang fallback language does not get activated even with patch

<?php //my patched archive.php to display posts of a category get_header(); ?> <div id="content"> <?php global $wp_query; ...
0
votes
2answers
49 views

Create a category in different language?

Let's say my website in English, and I created a Spanish category which I want it to be Spanish language, it and it's child posts. How can I achieve this?
0
votes
0answers
41 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; } ...
0
votes
0answers
47 views

Change language of pages/categories based on ID

My Wordpress is in Arabic, I'd like to make an English category which would use the English language from wp-content folder; it and its child posts. Is there any conditions to do that? something ...
0
votes
0answers
31 views

Trying to use qtranslate in WPSC checkout form?

I need to have 3 different languages checkout forms for WPSC. When i tried to use AddressAdresse it isn't translated. Or should i created 3 different forms and have the lang check hardcoded? How can ...
0
votes
1answer
124 views

Is it possible to temporarily override the language setting?

I have a bilingual site working no problem that tests for cookies before setting WPLANG in wp-config.php, with all the text internationalised etc. My one problem is that notification emails are being ...
0
votes
1answer
74 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
0answers
57 views

How can run the multiple website sites or domains into single wordpress intallation

I want to run multiple sites into wordpress 3.8.1, when the user access my website the url and language of my website is auto change to its country by it's ip address of user and website will also be ...
0
votes
2answers
214 views

Translation to ACF relationship field

I'm building a WordPress site that is supposed to end up with a Danish backend. This works fine for core WordPress, but some plugin makes it really hard to make a complete translation. A problem I ...