Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [plugin-qtranslate]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
573 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
20 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,...
1
vote
1answer
45 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 ...
0
votes
2answers
477 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
136 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
21 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
20 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
32 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
28 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
20 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
282 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 ...
2
votes
4answers
24k 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 ...
0
votes
1answer
56 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
1answer
174 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, ...
1
vote
1answer
88 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
0answers
381 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 ...
0
votes
1answer
1k 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
74 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
78 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
72 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 ...
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), ...
1
vote
1answer
174 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
626 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 ...
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 ...
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 ...
0
votes
0answers
550 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 ...
1
vote
1answer
687 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 ...
4
votes
3answers
17k 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 ...
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
717 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 ...
6
votes
1answer
14k 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 ...
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
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 ...
1
vote
2answers
714 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 ...
3
votes
1answer
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)<!--:--><...
0
votes
1answer
812 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 ...
5
votes
2answers
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<!--...
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?
2
votes
1answer
6k 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'...
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
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 ...
0
votes
1answer
649 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
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 ...
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 ...
9
votes
1answer
25k 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 ...
0
votes
1answer
18k views

Add qtranslate language select box to menu [closed]

I can't find any info on how to operate qtranslate and add the select box to change language to the right of my header navigation. Any ideas?
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 ...
2
votes
4answers
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 ...
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 ...