slug translation implemented, needs review

Any suggestions on how to improve qTranslate? Post here!

Re: slug translation implemented, needs review

Postby zapo » Thu Mar 31, 2011 8:34 pm

Hi, first thanks all for qtranslate and qtranslate-slug, works great !

I am currently using both of them for a website I am working on, and, being new to wordpress I have to say that it feels great to see that such plugins are around.
The only missing feature for me was to be able to have url like http://website.tld (with "tld" changing according the current language, sort of a multidomain feature) instead of http://lang.website.tld.

I've produced two patches, one to apply against qtranslate-2.5.18 which gives :

- a new field in the backend to associate a tld to a language (language edition form) - if empty will use the iso 2 char code of the language
- an option in the advanced configuration to enable the "tld mode"

and the other one has to be applied to qtranslate-slug-0.6 if you want the tld mode with qtranslate-slug

I have juste tested it locally with pages and it seems to work well.
Attachments
qtranslate-slug-0.6-with-tld.patch
to apply against qtranslate-slug-0.6
(3.16 KiB) Downloaded 215 times
qtranslate-2.5.18-with-tld.patch
to apply against qtranslate-2.5.18
(12.35 KiB) Downloaded 143 times
zapo
 
Posts: 1
Joined: Thu Mar 31, 2011 8:11 pm

Re: slug translation implemented, needs review

Postby artphotoasia » Mon May 02, 2011 1:21 pm

Hi there
First of all thanks for the nice plugin, qtranslate is really amazing and can't be compared with other plugin of this kind.
Second I read all the forum and the development of slug translation issue... indeed a must have option...

I suggest to the creator of qtranslate to release a sort of ''pro version'' of the plugin filled with all options and get some cash for it :)

Anyway... going to my problem.... I would like to create a fully translated version of my blog artphotoasia.net and I'm already working on it.
All is working perfectly but of course not the url slug.

I can confirm that the slug implementation works ONLY if permalink structure is
%post_id%/%postname%

Example It will not work
/%postname%/%post_id%

I just did some quick test and decided to not modify my permalink structure. For SEO reason I use only %postname%/ and do not want change.

I will have the blog in English as main language and in Italian and I think is better probably to have a url in English also for the Italian version instead of modify the permalink structure.
What do you think? Less SEO evil?
artphotoasia
 
Posts: 4
Joined: Mon May 02, 2011 1:04 pm

Re: slug translation implemented, needs review

Postby shecky » Wed May 04, 2011 8:41 pm

Slug implementation is very good, but exist a method for remove %post_id% from post url???

I'm a web developer and I try and try, but I was not able to solve this problem.
URL with a number in half isn't nice to see...

Has anyone been able to solve it?

Regards.
Davide.
shecky
 
Posts: 6
Joined: Mon Dec 15, 2008 10:55 am
Location: Italy

Re: slug translation implemented, needs review

Postby artphotoasia » Thu May 12, 2011 2:39 pm

Hi Davide, another italian here then, I'm from Turin, the permalink structure must be that one to be able to use the slug.

I really love this plugin and soon I'm going to make a small donation to help and motivate.
I hope the developer will solve soon the slug issue.

Beside the visual effect not nice; a number inside the url will change all the existing url indexed and I feel that Google will manage that but will not like that.
Better an English url that a number in the url or something worst.

Also when I gave a try to the slug patch I noted some strange behavior of url as I use SEO platinum of WP
artphotoasia
 
Posts: 4
Joined: Mon May 02, 2011 1:04 pm

Re: slug translation implemented, needs review

Postby jewelryab » Tue May 24, 2011 6:21 am

For every other page without slug translation, qTranslate default URL modification works as expected.
Any suggestion is welcome!!
jewelryab
 
Posts: 3
Joined: Tue May 24, 2011 6:00 am

Re: slug translation implemented, needs review

Postby rubarubarej » Thu Jun 16, 2011 3:03 pm

I would like to renew the question that was already asked:

did anyone find the solution to make slug translation work with /%category%/%postname%/ permalinks structure?
rubarubarej
 
Posts: 1
Joined: Thu Jun 16, 2011 2:58 pm

Re: slug translation implemented, needs review

Postby 0mega » Thu Jul 07, 2011 10:44 am

rubarubarej wrote:I would like to renew the question that was already asked:

did anyone find the solution to make slug translation work with /%category%/%postname%/ permalinks structure?


This would be very relevant for me too. Without translated slugs, I will not be able to use this plugin, which is awesome in every other aspect.

currently I have

www.website.com/kunden <- german
www.website.com/en/kunden <- english url with german slug. This sucks! A fix would be most appreciated, I would gladly donate 100$ for that feature!
0mega
 
Posts: 2
Joined: Thu Jul 07, 2011 10:41 am

Re: slug translation implemented, needs review

Postby unwohltaeter » Fri Jul 15, 2011 7:07 am

Can someone help me?

I'm currently working on a website for a company.
I configured Wordpress so that pages are products and articles are recipes. I made a page named "recipes" that's based on the archive-template which gives me a list of all articles.
The problem now is that when I'm on "recipes" and click on a category, it works but when I'm in the category and trying to click on another language it gives me a 404.

When I click on the language again it works. It just doesn't add the language slug on the first try.

How do I solve this?
unwohltaeter
 
Posts: 3
Joined: Fri Jun 24, 2011 5:07 pm

Re: slug translation implemented, needs review

Postby maggilane64 » Wed Aug 24, 2011 6:48 am

Nice thread all. I was hoping to get more information on the SEO tools which can help me to get reviews on my blogs. I have tried some wordpress company for this and that was good. We'll try to throw this a reference on our wordpress company blog. Ta
Wordpress Company
maggilane64
 
Posts: 1
Joined: Wed Aug 24, 2011 6:46 am

Re: slug translation implemented, needs review

Postby GhostMaster » Fri Aug 26, 2011 2:22 am

I dont really understand how to install it, so with this we can configure 2 urls to the article?

Some EN/contact-us

And /contacto for example?
GhostMaster
 
Posts: 29
Joined: Thu Jun 23, 2011 8:07 pm

PreviousNext

Return to qTranslate Suggestions Forum

Who is online

Users browsing this forum: No registered users and 1 guest