WordPress.org

Plugin Directory

Qtranslate Slug

Adds support for permalink translations and fix some QTranslate deficiencies since wordpress 3.0

Thanks to returning @pedro-mendonca for these commits:

  • Cleaned duplicated label in widget
  • Bug fix in "Slug (%s)" string translation
  • Changed text strings with no text-domain and with text-domain 'qtranlate' to text-domain 'qts'
  • pot catalog updated with current strings, including last found is "More information about".

Thanks to @johnclause for these :

  • Convenience links in notice_dependences
  • Menu compatibility with qTranslate-X
  • Fixed extra characters in widget

Thanks to vbkun for casting the much wanted function to get a slug based on an id and language

  • Added a global qts_get_slug( $id, $lang)

and sadly:

  • removed the menu admin box until better implementation

See you next Version!

Advice: If you're using a multisite installation, you will must activate qtranslate plugins by separately on each site.

You can also check the project website hosted on GitHub. Thanks for use this plugin!

Contributors

Other notes

Plugin filters reference:

qts_validate_post_slug

filter to process the post slug before is saved on the database.

args: $post (object), $slug (string), $lang (string)

qts_validate_term_slug

filter to process the term slug before is saved on the database.

args: $term (object), $slug (string), $lang (string)

qts_url_args

filter to process the entire url after it has been generated.

args: $url (string), $lang (string)

qts_permastruct

filter to process the permastruct, used for change the base.

args: $permastruct (string), $name (string)

Todo

  • detect Slug for each language and redirect accordingly in parse_query.
  • expand qtranslate for translate attachment names and descriptions ( useful for galleries )
  • translate other slugs like attachments.
  • qtranslate integration with other plugins like Jigoshop, e-commerce, etc. Addapt $wp_rewrite.

Requires: 3.3 or higher
Compatible up to: 4.1.6
Last Updated: 2015-4-13
Active Installs: 10,000+

Ratings

4.4 out of 5 stars

Support

2 of 4 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1 0,1,0
100,1,1 100,1,1
100,1,1 100,1,1 100,2,2
50,2,1 100,1,1 100,1,1
100,1,1 100,2,2 100,1,1
86,7,6
100,7,7
100,1,1
100,1,1 100,4,4
100,1,1
33,3,1
100,1,1
100,1,1
100,1,1 50,2,1
100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1
100,1,1