Support » Plugins » [Plugin: Google AJAX Translation] Feature Request: Template tag for [Translate] link

Viewing 8 replies - 1 through 8 (of 8 total)
  • I was just about do suggest the same thing. I’ve been thinking about a plugin like this for a while, knowing the new Google Translate API, and this is almost exactly what I was planning for it.

    A tag is essential here, I think. Additionally, it’d be great to be able to select the HTML for the button in the GUI – for ex, if I want to make it an image button.

    Do you mean something like this that would put the button somewhere as defined by your theme?

    if ( function_exists( 'google_ajax_translate_button' ) ) {

    Do you know a plugin that uses this technique?

    It should be possible to make a function like this but it would have to be inside the WordPress loop I think. This is much more advanced since most users don’t edit the php code in their theme much.

    Also it would be possible to add an option to use anything else for the [Translate] button like an image. Currently you can change the [ or ] characters easily but the word “Translate” shows up in different languages so it may be best to customize the look with CSS. What were you thinking of using?

    mono, you’re right – disregard the shortcode request. The shortcode tags are meant for the post content and this is not what’s wanted here.

    But yeah – the position should be able to be manually specified by placing the function call in the right place. For example, Post Updated plugin uses this approach:

    Ok, after thinking about it some more this shouldn’t be too hard to add. It will take an extra option and one more function.

    i second this motion, it would be very attractive to be able to position the “Translate” link by use of a shortcode.

    Any news on this function?

    Yes, any update on this function?


    Sorry for the delay,

    This will be added in the next version (0.5.2) as a method you can use anywhere within the WordPress loop.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Google AJAX Translation] Feature Request: Template tag for [Translate] link’ is closed to new replies.