Questions tagged [plugin-qtranslate]

Qtranslate is a wordpress plugin for multilingual content management and translation support.

0
votes
1answer
15 views

Bulk assign posts to a category using SQL (MySQL)

I am migrating a wordpress site from QTranslate-X to WPML (2 multi-lingual plugins). In the migration, all my posts that belonged to a given category (healthy in English, sain in French) were ...
0
votes
1answer
10 views

Script for q translate

Would like to add this script on my website just on the top of the memu right side, how can i do that? Here's the code: <!-- GTranslate: https://gtranslate.io/ --> <a href="https://...
0
votes
0answers
9 views

Add different image in Advanced Custom Field based on qTranslate selected language

My website is in two languages and I am using Advanced Custom Fields and qTranslate plugins. In one page, where I have these Advanced Custom Fields, I added heading and image. When I switch languages, ...
0
votes
0answers
28 views

Strange wp-admin problem for all users/adminstrators except the original one?

I don't get this but for all wp admin users except the original main user i get a strange error which causes the visual editor to fail: load-scripts.php?c=0&load[]=hoverIntent,common,admin-bar,...
0
votes
0answers
18 views

how to get the qtranslate-x meta_value in wp_postmeta using WP_Query?

How do I get all the posts where the value in wp_postmeta.meta_value is the selected city? I now use the code below, but this doesn't work 100% because I use the LIKE method. So if I select "York" I ...
0
votes
2answers
18 views

Translating Website

How to translate my website into another language like Malayalam. Can You suggest something. There is a problem when I used GTranslate plugin, that is it doesn't translate correctly. There is any ...
1
vote
0answers
192 views

Multilingual XML sitemaps when using qTranslate-X

I am taking over a multilingual website that a previous developer left unfinished, and I found that he had used qTranslate-X as a localization plugin, in order to create handle the multilingual part ...
0
votes
1answer
49 views

Creating multilingual glossary for WP

I'm trying to create multilingual glossary using WP & WPML & custom post type. And I found solution to achieve this. Link to the page example - link 1) Added to functions.php function ...
0
votes
2answers
414 views

Language files are not loaded in production

I made changes to my website and it became multilingual locally. I'm using qTranslate-X plugin. I deal with PT and EN. I used __() and _e() functions for strings and POEdit for creating .po and .mo ...
0
votes
1answer
481 views

qTranslate remove default directory from link

/ru - default directory, how can I remove it this link: https://cambridge.ua/ru/teachers/ should be: https://cambridge.ua/teachers/ <ul class="language-chooser language-chooser-text ...
0
votes
0answers
351 views

404 errors problem with multilangual permalink pages

I am suffering an unexpected issue with “Plugin: Qtranslate Slug”; Some of my pages will automatically redirected to 404 error page. I tried a lot of this in slug but the issue is not resolved. This ...
1
vote
1answer
82 views

JSON in oembed not being internationalized (using QTranslateX)

I'm using the QTranslateX plugin at its latest version, 3.4.6.8, in a fresh WordPress 4.7.1 installation. At the moment everything is working OK. But I've seen that in JSON-oembed pages there's some ...
0
votes
1answer
142 views

qtranslate loading the wrong language

I have the following problem. I'm translating a website in 2 languages - Bulgarian and English. Let say that I search a page in Bulgarian. The results that google disply are in Bulgarian language, ...
0
votes
1answer
72 views

Can the qTranslateX-Plugin translate non-article text? [closed]

I started using the qTranslateX plugin for a bilingual Wordpress site, and I am very happy with how it translates posts and pages. However, there is some text on the site that was entered as part of a ...
3
votes
0answers
77 views

Custom values are not translated

I'm trying to translate my plugin. Inside plugin's root folder I have 'inc' folder, where located registration.php file. This file has a code, which adds custom fields to comment form. (I use right ...
0
votes
1answer
1k views

How to get Post title by locale with Qtranslate-X

I need to send 2 emails, when new comment is posted and when new comment is approved. Site is multilingual and uses qtranslate-x plugin. Here is code, which sends email when comment is posted. In ...
0
votes
1answer
996 views

qtranslate-x problem with custom term description

I use qtranslate-x plugin for site translation. Works well, but on my custom term's page I see description in all languages. I use this code to display term information: $term = $wp_query->...
0
votes
1answer
69 views

Plugin translations problem

I developed a plugin for my client in english by default. I created estonian and russian translation files. But my client installed wordpress with estonian language by default and now, when my plugin ...
1
vote
1answer
162 views

WordPress po files

Hi all I have one problem. Po file doesn't work. I use qtransltae-x for translation. And I create custom pot file example # Copyright (C) 2015 Gawatt msgid "" msgstr "" "Project-Id-Version: Gawatt ...
0
votes
0answers
597 views

Custom theme .mo translation file not working

I have a custom .mo file named ne_NP uploaded in the languages directory. Nepali language is enabled with qTranslate and define('WPLANG', 'ne_NP'); is in wp-config.php as well. Yet the theme ...
0
votes
0answers
509 views

qTranslate: Two languages on the same exact page

The user shouldn't choose language! I would like to echo French and English out on exact same page... My fields the_field is outside the_content ? How would you do this? I would like to show specific ...
0
votes
1answer
803 views

WPML language tags (Qtranslate feature) [closed]

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 ...
1
vote
1answer
2k views

How to enable qTranslate languages tabs in custom plugin page

For example, I have created a custom post creator. I am using wp_editor() to generate "WYSIWYG" editors for content. I am using qTranslate for multi-language user experience. Unfortunately I am ...
0
votes
1answer
2k views

How to change Header image depending on language [closed]

I am using qTranslate on Genesis child theme and would like to be able to change the header image depending on the selected language. Any ideas how can I do that?
0
votes
1answer
639 views

Recent Posts titles not working with Qtranslate

I am using a WordPress 3.8 installation with qtranslate, and everything is working except for the recent posts titles. Qtranslate displays the titles with all languages after each other. Like: English ...
1
vote
1answer
661 views

Can't include Language switch in Nav Menu

I am trying to add to my menu bar some language elements. I'm using the qTranslate plugin and I would like to add the language switch to the menu bar. My them is calling in the header.php <?php ...
0
votes
0answers
2k views

qTranslate get content by language using wp_query

I've similar problem to the issue described here. On my bilingual website here http://redscouseworld.com/ I'd like to display posts only in Polish language. And here http://redscouseworld.com/en/ I ...
0
votes
1answer
1k views

Order by title - but now built in wordpress func, sort the_title

I've got a pretty simple WP installation, where I use qtranslate plugin to keep site in two languages. The problem is, I need to sort posts by title, and as probably you know (as you use qtranslate), ...
2
votes
4answers
23k views

How to translate content in category.php or index.php with qtranslate?

I was wondering how to translate content under index.php (or category.php with qtranslate?). I'm using twenty twelve theme. My code on index.php: <?php /** * The main template file. * @package ...
1
vote
1answer
3k views

qTranslate - show articles in two languages [closed]

I would like to show all articles on my page in two languages while the menu and everything is translated in the language choosen. <?php $id=5; $post = get_page($id); $content = qtrans_use('fr', ...
1
vote
1answer
2k views

Creating a custom multilingual form

I need to create a special form for my website where users cand specify a series of data including some textfields, combo boxes and sliders (from 0 to 100). Also I need this form to be qTranslate ...
0
votes
1answer
5k views

QTranslate for Custom Post Type [closed]

How to add qtranslate-support for custom post type? Just saving text with tags OR add flag switcher. My Custom Post Type field: add_meta_box('project_rolesid', 'Roles box', 'project_roles', '...
3
votes
1answer
278 views

Is there a way to localize role labels?

I'm using Justin Tadlock's Members plugin to create new roles and WP Role on Registration to display them on the registration form. I've got a multilang site (English and Spanish) and I've localized ...
1
vote
0answers
210 views

Wordpress translation loading english file

I am trying to translate a wordpress site but whatever I do the english file is always loaded. In functions.php I've set load_theme_textdomain('twentyeleven', get_template_directory() . '/languages');...
4
votes
3answers
6k views

Difference between bloginfo('home') and home_url() and site_url()

I have been reading through Codex and other SO and SE posts regarding this. But I am confused. I used home_url() and site_url() to linking the site's home and it gave same results. As I was using ...
0
votes
2answers
961 views

MF2 and qTranslate problem with custom post types post titles [closed]

I'm creating custom post types with Magic Fields v2.0.1 and i use the qTranslate v2.5.32 plugin for a second language on Wordpress 3.4.2. The problem is that on Magic Fields in the settings of the ...
5
votes
2answers
4k views

How to force Wordpress to temporarily switch locale (using qTranslate)? [closed]

I have a multi-language store running WooCommerce and qTranslate, and am trying to setup multi-language customer emails. The problem is, the "order complete" email gets sent from the admin backend, ...
3
votes
1answer
7k views

Qtranslate + Advanced Custom Fields: how to have a multilanguage wysiwyg editor? [closed]

This is my setup: Wordpress: 3.4.2 qTranslate: 2.5.32 Advanced Custom Field: 3.5.1 i've also installed qTranslate extension: 1.1.1 but I don't know how/if it works... How can I have a multilanguage ...
1
vote
1answer
88 views

How can i change the texts of plugin (created by me) in wordpress admin?

i have a created a contact us plugin, i want to change that name of the plugin "contact us" in Hindi. I already created languages folder in my wordpress, and maintaining hi_IN.mo, hi_IN.po files.
6
votes
1answer
13k views

Adding a filter to qTranslate to change display of language chooser

This is a problem I am having with qTranslate, but I suppose the solution is more of an instruction in how Wordpress hooks and filters work. Instead of using the qTranslate widget, I am using the ...
3
votes
1answer
9k views

How to Translate Contact Form 7 using qTranslate? [closed]

I'm using Contact Form 7 for my forms and also qTranslate to translate my website. I would like to translate all my fields and for that I used: <!--:en-->First Name (required)<!--:--><...
9
votes
1answer
19k views

Translate widget titles using qTranslate plugin

I'm actually using the qTranslate plugin to translate my website. It works really well with everything except one thing. the titles of my sidebar widgets. Actually, to translate some words we need to ...
1
vote
1answer
707 views

qtranslate (language definition) when translation for selected language doesn't exist [closed]

I'm using qtranslate, and whenever selected language translation doesn't exists it outputs text like this: (English) This is english text. So it gives me (language) string inside the output. I'd like ...
1
vote
1answer
251 views

How to find when qtranslate plugin's language changes? [closed]

I used qtranslate for make my website multilingual, In fact this plugin just make an option for my content to has another translate, but how can i use it in my code? for example: if ( $language == "...
5
votes
2answers
30k views

How to determine current active language in qtranslate plugin? [closed]

I have a situation where I want to give specific style to my Navigation Menu when the website is in German language. My website works well in English language but when I switch to German, it causes a ...
1
vote
1answer
5k views

qtranslate quick tags don't work in custom fields

Anyone familiar with qtranslate? Do you know how to enable custom field quick tag support? at the moment it just prints out <!--:ge-->სახელი<!--:--><!--:en-->name<!--:--><!--...
0
votes
2answers
8k views

custom query/get_posts and qtranslate (url not language specific)

I'm using allot of custom queries, and qtranslate. Qtranslate works with everything that has home url in it. But for posts /thumb permalinks if I change language to Russian for example links remain ...
4
votes
3answers
3k 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 class="...
1
vote
1answer
5k views

wordpress qtranslate editor text is not working [closed]

I have installed qtranslate on my wordpress site, it all works fine, but sometimes the content editor does not show the text, When I force refresh the page a few times (Ctrl + r) eventually the text ...
0
votes
1answer
3k views

qtranslate is not working properly [closed]

I have installed qtranslate in my local, it does not show the translated content, so there are two question if anybody have used this plugin. do i need to put the translated text by my self or it[...