Articles of plugin qtranslate

How to use get_page_by_title() with qTranslate?

Any idea how I can use the WP function get_page_by_title() with qTranslate installed? for example: $page_contact = get_page_by_title( ‘_e(“[:en]contact”);’ ,’page’ ); $page_contact_ID = $page_contact->ID; echo ‘~~~~’.$page_contact_ID; The only way I can get a match is by including the whole string with all the languages – and there is no way that’s going to work once […]

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 line for the title in the general settings for my website. I have installed Qtranslate META where […]

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<!–:–><!–:ru–>imia<!–:–> without actually translating anything.

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 1.0.0\n” “POT-Creation-Date: 2015-06-03 11:30+0400\n” “MIME-Version: 1.0\n” “Content-Type: text/plain; charset=UTF-8\n” “Content-Transfer-Encoding: 8bit\n” “PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n” “Last-Translator: FULL NAME <EMAIL@ADDRESS>\n” “Language-Team: LANGUAGE <>\n” “X-Generator: […]

qTranslate: Hide untranslated content

I know qTranslate has the option to hide untranslated content, but that doesn’t seem to work. I.e: I have a website with three languages: Dutch, French and English. There is one particular page that has some subpages that are only available in Dutch. I want them to show up on the Dutch website, but hide […]

Custom Meta Field not Working with qTranslate

I am running the newest WordPress and qTranslate. I have made a page that enables some custom fields that are working ok. qTranslate enables languages like tabs when editing a page. But this doesn’t happens in my custom meta fields. Any way of making language control on these fields? It would be great if there […]

Separate backend “Widgets” page for each language

Im currently trying to make my backend work with multiple languages. Im using qTranslate as my translation plugin. So far I have accomplished a custom option page with multi-language support. When you click on a different language (in qTranslate on the sidebar) you will get a new options page with prepared option-variables show(option_textarea) -> ‘english […]

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 a user has selected a different language the URL should change from: (for default language) to (for french language) The plugin provides functions […]

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 solution from this answer) and here is a part of a code, which should be translated. $myfields[‘code’] = sprintf( ‘<p class=”comment-form-code”> <label […]

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 WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ ?> <?php get_header(); ?> <?php $page_id = 1500; $page_data = get_page( $page_id ); echo […]