Viewing 7 replies - 1 through 7 (of 7 total)
  • Is that page private? When I follow that link it just gives me a 404 error.

    The button shouldn’t show up at all if you use the function the_excerpt. It should only appear if you use the function the_content.

    Thread Starter eiland

    (@eiland)

    Hi,

    Mmmm, not sure what’s happening, try again, now its public.

    The template I’m using is here.

    See my screenshot.

    help is appreciated as I really hate to turn of multi-linguo, but this will make me have to ??

    Ok, I see the page now.

    Something is going on with the function the_excerpt but it might take a little while to track down.

    Hi Eiland,

    Try out version 0.4.5 now. It took a few hours to figure out the problem but it should work now. The [Translate] button shouldn’t appear when you use the_excerpt anymore.

    For some reason get_the_excerpt uses the filter wp_trim_excerpt which uses the filter the_content which is where this plugin hooks into the posts and pages. I ended up using the php function debug_backtrace() to see if the plugin was getting called by wp_trim_excerpt.

    Thread Starter eiland

    (@eiland)

    You are my hero!

    I tested it on another blog where I use this mechanism and it works just fine. Ill ask my admin to refresh the plugin, and then i’m ready to go!

    There’s another minor issue my admin had to resolve, i’m not sure in how far you are a perfectionist, but ill feed it to you anyway
    – regarding files paths, eg. CSS (see this…)

    the hack:

    there was an issue somewhere where the plugin was generating
    wrong css paths (not recognising symlinks and going bonkers).

    i (my admin) fixed this for google-ajax-translation by adding this line to apache2.conf :

    Alias /wp/wp-content/plugins//eb/apps/wordpress/wp-content/plugins
    /eb/apps/wordpress/wp-content/plugins

    I don’t know why you would need to make an Apache alias. I haven’t seen that in any of my testing or on any of the sites I’ve looked at.

    Thread Starter eiland

    (@eiland)

    the thing is; the plugin uses these weird paths… but maybe its actually something exotic with our setup which probably has a few symbolic links to many.

    BTW, im going to switch of the plugin for a bit until my admin updates it to your latest version ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Google translate plugin not translating excerpts.’ is closed to new replies.