cipherdevgroup/wp-featherlight

Make the deactivation checkbox translatable

Closed this issue · 1 comments

There is a string for the deactivation per post in the current pot file:

Disable Lightbox on this %s

The problem is that each post type's name can be gendered in many languages. French and German are two examples. Depending on the gender of the post type – which is unknown for the translator – the this needs a different translation.

page is female in German (Seite), post is male (Beitrag). So the translation would be for:

  • page: Die Lightbox für diese Seite abschalten.
  • post: Die Lightbox für diesen Beitrag abschalten.

I can just write Die Lightbox abschalten. This works, and it is clear enough. But I think it should be changed in the original string too, because other translators might run into the same problem.

I think the simpler string should be clear enough and avoid these issues in other languages. If that seems like it'll work, I'll go ahead and close this out.