Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Vavooon

    (@vavooon)

    When multisite support was added to qTranslate?

    Thread Starter Bob the web builder

    (@yourlive)

    I don’t know, but qtranslate works on multisites and ztranslate doesn’t ??

    Plugin Author Vavooon

    (@vavooon)

    Sorry, but i have no time to do this.
    Maybe i will add the feature later.

    Thread Starter Bob the web builder

    (@yourlive)

    Hi Vavooon,

    It’s a free plugin so I’ll just have to wait ??
    Thanks for your quick respons so far though!

    One issue I had with multisite is editor breakage on non-default sites. This was easily fixed. In ztranslate.js, zTranslate decides whether to start its editor or not based on this line:

    switch (location.pathname)

    which tests for things like "/wp-admin/post.php", but will fail for "/site/wp-admin/post.php". Replacing that line with these two enables the editor for subsites:

    var matches = location.pathname.match(/(\/wp-admin\/([^\/]*))$/);
    switch (matches && matches[1])
    Plugin Author Vavooon

    (@vavooon)

    Thanks a lot AmadanMath.
    I’ve applied the fix to the plugin.

    Plugin Author Vavooon

    (@vavooon)

    So i’ll close it.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘ztranslate multisite support’ is closed to new replies.