Sign in to follow this  
Followers 0
yoni

qtranslate and pageline features + boxes link issue

2 posts in this topic

Hi dear Pageline community,

 

I have a multilingual website using the qtranslate plugin and pagelines pro. i created a child theme.

the site is at christinabernier.com

 

my problem is that the links from the features and the boxes will point to the default language of the site (which is french) so english speaking users are always forwarded back to the french page.

 

here are exemples:

http://christinabernier.com/en

if you click on one the boxes you are directed to the french version...

 

I read the following topic but it is not doing anything on my site... http://forum.pagelines.com/topic/22544-using-url-in-boxes-and-feature-with-qtranslate/?hl=qtranslate

 

could you help?

 

thank you


Share this post


Link to post
Share on other sites

Hi,

 

It looks like you'll need some kind of browser redirect system or browser language detection (possibly both).

 

This is not an easy thing to manage using WordPress.  Most websites with foreign language versions have a complely translated sub-site for each language.  QTranslate does that translation for you, but doesn't change the direction of links based on language, as you're seeing.

 

By having a sub-site in each language, you're able to keep links directed within that language.  Some redirect plugins are able to guide links, but one cannot be sure they'll work if you don't have the correct pages available.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Similar Content

    • John Olsson
      By John Olsson+
      What's the best way to have multilingual in pl5, any plugin that stands out from the rest and is logical for the pl5-workflow?
    • Audun MB
      By Audun MB+
      Are there any instructions for this? Seems like the plugin use standard .mo/.po for translation, but how do I prevent my language file from being overwritten with updates?
      Support for different number and currency formats in sections is also missing. For me this is an issue with Boxes. I can't use the counter with the current format (thousands separator), it looks really odd in Norwegian (and a lot of other languages). 
       
    • Rob Thomas
      By Rob Thomas+
      For some reason the main site of my multisite has lost the functionality of its blog page.
      http://imagesoferoticism.com/blog/
      If you click on a non-link post (i.e. not the links Pageline allows you to set up in the "Format" menu when you edit the post, or video, etc, but set as a "Standard" post), you get no content and a page that only shows a comments field (e.g. "Leave a reply"). If you go into "edit" the post, the content shows up. But not under "view post." 
      I have toggled to all non-Pagelines themes and it works fine in twenty eleven, thirteen and fourteen. It does not work in any Pagelines theme (e.g. postpins, DMS, iBlogPro, etc.). This appears to be confined to this blog. None of the other blogs on the multisite are affected. I have tested with all of the plugins turned off. No effect. 
      Debug only returns the following message: 
      Notice: wpdb::escape is deprecated since version 3.6! Use wpdb::prepare() or esc_sql() instead. in /www/wp-includes/functions.php on line 3411
      Interestingly enough, I played around with the Permalinks. If you set them to default something interesting happens: the "Blog" item in the menu will no longer go to the "Blog" page. It will go to the "Home" page, even though the posts page is set to the "Blog" page and the Front Page is set to "Home" in Reading. Also, this one part that becomes broken when you switch back to default Permalinks works fine when you are in the visual editor but not when you log out (then you get the Blog link going to the Home page). 
      For posts with actual content, you can test those titled "Smut Capital of America" or "Some Problems with Linda Williams' "Hard-Core Eroticism" which are posts 7 and 8 down, respectively, since the others are just video or linked content. Yes, this is my porn studies class. So, for example: http://imagesoferoticism.com/smut-capital-of-america/ 
      I test my sites at the beginning of the semester and this definitely wasn't a problem before. However, that could mean this happened anytime between the end of August and now. It's too bad I didn't notice earlier. Normally, if something doesn't work, students won't say anything. So, I have to be on top of things or they use it as an excuse not to do work. It's important that I get this working as soon as possible. 
      I tired enabling Legacy Mode on the blog. This allowed the content posts to show up as showing full content on the Blog page, but then the newer posts that use the "link" and "video" functions from PL do not work. I also tried using PostLoop or PostPins, same result. I may have to put the content in myself and use the Legacy settings as a way to at least get things up quickly. Not sure what else to do. 
      This is a Multisite hosted on Flywheel. Also, I tried deleting the cache. No change. 
    • Audun MB
      By Audun MB+
      I updated to the lates version of DMS2 (from 2.1.9.8 to 2.1.9.9), and suddenly my site is yet again in English? 
    • greatthingsllc
      By greatthingsllc+
      I have used the NavBar (Content Width) with blue background color selected.   The Parent Links are not clickable, only the child links.   I have tried with "Activate DropDown on Hoover" both selected and unchecked. 
      Only the NAVI (Content Width) allows the parent links to be clickable, but you can not select a background color.    The background color is a requirement from the end user.
      Thanks!