Translation plugin post action button to show for anonymous users and direct to the login/signup page

AI-generated summary

The discussion revolves around enhancing the Translation plugin to display the translation post action button for anonymous users, redirecting them to the login/signup page upon clicking—mirroring the behavior of the like button. loginerror initially raised the issue, noting that anonymous users currently don’t see the translation button at all, and speculated that a small theme component might resolve it. Bas agreed, suggesting such a component would simply add a login-linked icon visible only to anonymous users, and recommended submitting it to the Marketplace. JammyDodger supported the idea as a valuable addition to the plugin, expressing hope that it could eventually be integrated directly into the plugin itself if enough community interest emerges (the “Rule of Three”). The conversation reflects collaborative problem-solving and openness to community-driven solutions via theme components or core plugin updates.

It relates to my question over here, where the reply was that:

I further tested this and indeed - anonymous users don’t even see a translation post action button:
image

As such, it would be nice if there was an option to show the translation button to the anonymous users which would then navigate them to the login/signup page upon a click. This is the current behaviour of the like button.

And after thinking about it a little bit more, I assume the feature request could be resolved with a small theme component. Is that the case? :slight_smile:

2 Likes

I don’t see why not to be honest :slight_smile:

It would be small a theme component that

  1. adds an icon that links to /login
  2. only shows for anonymous users

Feels like a perfect request for Marketplace, but you can of course also reach out to us using the normal channels.

2 Likes

It sounds like a good idea and a nice addition to the plugin. Hopefully we can hit the Rule of Three and get it in to the plugin itself. :crossed_fingers: :slight_smile:

2 Likes