Questions tagged [plugin-qtranslate]

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

Filter by
Sorted by
Tagged with
14 votes
7 answers
47k views

Best Wordpress Multi-language Plugin? [closed]

What is the best multi-language plugin for WordPress? WordPress does not have multi-language support itself, so you need to use a plugin to obtain multi-language functionality. Do not suggest the ...
sorin's user avatar
  • 1,123
9 votes
1 answer
27k views

qTranslate get content by language [closed]

How do you get the content by id and by specific language? I need to display two specific language content in a page, regardless of the session's language. So far, this is my progress: this works ...
user1348490's user avatar
9 votes
1 answer
20k 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 ...
kschaeffler's user avatar
7 votes
2 answers
5k 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, ...
olex's user avatar
  • 261
6 votes
1 answer
15k 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 ...
jessica_b's user avatar
  • 131
5 votes
2 answers
33k 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 ...
Darshan Thanki's user avatar
5 votes
2 answers
5k views

Has anyone successfully integrated qtranslate with custom metaboxes?

I followed this tutorial to create custom metaboxes. It seems like qtranslate enables you to use shortcodes almost everywhere. For example: Post titles: <!--:en-->Cheng Feng Enterprises<!--...
wyc's user avatar
  • 3,867
4 votes
3 answers
7k 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 ...
Lenin's user avatar
  • 190
4 votes
3 answers
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="...
Will's user avatar
  • 85
4 votes
2 answers
6k views

Disable qTranslate by post type in admin + disable per page / post ID on front-end [closed]

I'm trying to find a way to selectively disable qTranslate - I would like to be able to show certain static content on my site in 4 languages, but to then only have a single language (and a simplified ...
Q Studio's user avatar
  • 2,516
4 votes
3 answers
18k views

Multi-language permalink in qtranslate

I am using qtranslate plugin for my WordPress site to make it a multi-language site. Now I have got a requirement like For English the url should look like www.sitename.com/contact-en For French the ...
Beniston's user avatar
  • 141
3 votes
4 answers
27k 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 ...
Exalight3666's user avatar
3 votes
1 answer
372 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 ...
annabwashere's user avatar
3 votes
1 answer
10k 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)<!--:--><...
kschaeffler's user avatar
3 votes
1 answer
1k views

Is it possible to get a different header.php on language switch with qtranslate? [closed]

the problem is that on home page I have a lot of code which is added through header.php and it is not amendable through admin panel. What I want to do is to switch header files on language switch. ...
user385917's user avatar
3 votes
1 answer
1k views

Qtranslate displays empty categories with get_categories()

I am using qtranslate (Wordpress Plugin) on a website and I don't want to display categories that don't contain posts for a language. So when I do get_categories() (without qtranslate) the ...
Alexandros B's user avatar
3 votes
0 answers
85 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 ...
anton's user avatar
  • 1,033
3 votes
1 answer
8k 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 ...
stefano1's user avatar
  • 157
2 votes
2 answers
7k 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 ...
Scott's user avatar
  • 421
2 votes
2 answers
430 views

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 ...
Tom Siwik's user avatar
  • 135
2 votes
1 answer
7k views

Custom Meta Field not Working with qTranslate [closed]

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'...
Ronnie Jespersen's user avatar
2 votes
4 answers
7k views

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 ...
Matthias's user avatar
  • 121
1 vote
1 answer
7k views

titles in recent posts appear together in all languages with qtranslate

I´ve been dealing with a qtranslate problem (Im using the twentyten theme) and i hope you cna help me, I´ve been searching on forums and sites but to no vail (their solution is for other them called ...
diana garcia's user avatar
1 vote
1 answer
268 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 ...
Aram Mkrtchyan's user avatar
1 vote
1 answer
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<!--:--><!--...
user avatar
1 vote
2 answers
730 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 ...
Justmac's user avatar
  • 141
1 vote
1 answer
2k views

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 = $...
Q Studio's user avatar
  • 2,516
1 vote
1 answer
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 ...
MichelReap's user avatar
1 vote
1 answer
5k views

qTranslate with my own theme and settings

Basically I have my own theme and my own settings page. In that settings page I have a textfield which contains a Welcome Text to show at the top of the website. Now, I want this theme to works with ...
TigrouMeow's user avatar
1 vote
1 answer
49 views

Should I include colon in my msgid in PO file? [closed]

Which of the below is recommended when creating msgid a PO file? msgid "Available Balance:" or msgid "Available Balance"
ratib90486's user avatar
1 vote
1 answer
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 ...
Justinas Ruika's user avatar
1 vote
1 answer
830 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 ...
Rmatt's user avatar
  • 113
1 vote
1 answer
817 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 ...
user avatar
1 vote
1 answer
263 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 == "...
teal33t's user avatar
  • 123
1 vote
1 answer
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 ...
Val's user avatar
  • 81
1 vote
1 answer
334 views

Generate multiple goo.gl shortlinks for qtranslate bilingual blog

I'm working on revamping my personal blog with a custom built theme and making it bilingual with the help of qtranslate. I've gotten to a grinding halt when it comes to automatically generating the ...
0x61696f's user avatar
  • 798
1 vote
1 answer
1k views

qTranslate conflicts with SEO-plugins [closed]

I have an issue with a clients site. I installed the Yoast SEO-plugin (which i find to be great), but when i activate it i get lot's of error messages (See below). /storage/content/10/104610/mydomain....
Anton Gildebrand's user avatar
1 vote
1 answer
437 views

Multi language site [closed]

I found that two most popular plugins for multi language sites are WMPL and qTranslate. First one is commercial, so this is not option, and second doesn't have ability to translate widgets in sidebars,...
Иван Бишевац's user avatar
1 vote
1 answer
2k views

'qTranslate slug with widget' plugin works with posts but not pages [closed]

I'm using 'qTranslate slug with widget' plugin which is great, however, I'm stuck on one thing. If I set permalinks as /%post_id%/%postname%/ as recommended by plugin author - this works with my ...
user avatar
1 vote
0 answers
46 views

Custom plugin translation not working

I made a plugin that contains 2 custom gutenberg blocks created with react and jQuery (for some front-end stuff) and I'm having troubles translating them. There are no translation strings inside the ...
tsvetko.krastev's user avatar
1 vote
0 answers
87 views

custom post type WYSIWG removes paragraphs when displayed

I have a WordPress 5.2.3 instance that is multilingual with the help of the qtranslate-x plugin. I created a custom post type with a translatable WYSIWG field. The visual WYSIWG editor generally works,...
beta's user avatar
  • 203
1 vote
1 answer
2k views

How to merge two .PO language files?

I have a .po file that works with the theme and it contains 1259 characters, and i translated many words in it. That been said, after the theme was updated i found out that the new .po files contains ...
marouane91's user avatar
1 vote
1 answer
864 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 ...
David Brossard's user avatar
1 vote
0 answers
592 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 ...
PaulJ's user avatar
  • 158
1 vote
1 answer
892 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 ...
ilushoni's user avatar
1 vote
1 answer
109 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 ...
Iván Pérez's user avatar
1 vote
1 answer
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', ...
diestreich's user avatar
1 vote
0 answers
227 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');...
romainberger's user avatar
1 vote
1 answer
93 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.
Daya's user avatar
  • 111
1 vote
1 answer
655 views

Error : "Language is already enabled or invalid! " in wordpress plugin qTranslate [closed]

When trying to enable newly added language in qTranslate Configuration ** I get a message **Language is already enabled or invalid! All the languages that come with qTranslate are ok. Wordpress 3.13 ...
Matus's user avatar
  • 11