Supertext / polylang-supertext

Supertext Plugin for the Wordpress Polylang Multilingual Add-On
7 stars 3 forks source link

Translation of Gutenberg block attributes #10

Closed derpaschi closed 3 years ago

derpaschi commented 5 years ago

Currently it is not possible to translate block specific attributes.

As an example, for the following block, only the content (and not the title) will be translatable:

<!-- wp:namespace/blockname {"title":"My fancy title"} -->
<div class="wp-block-namespace-blockman"><!-- wp:paragraph -->
<p>Some Text</p>
<!-- /wp:paragraph -->

<!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link" href="thelink">Read more</a></div>
<!-- /wp:button --></div>
<!-- /wp:namespace/blockname -->

In this example we'll get translations for Some Text and Read more - but not for My fancy title.

Is there any way to make this possible?

rblaettler commented 5 years ago

Do you have a running setup? If yes, could you send a Test order to Supertext and then give me the Order ID? Send it to remy AT supertext DOT ch

derpaschi commented 5 years ago

Hi @rblaettler any updates on this? Did you receive my email with the order id?

rblaettler commented 5 years ago

Yep, Heinrich did send you an update by mail. Didn’t get it?

derpaschi commented 5 years ago

Oh, yes. Sorry. It got lost in some gmail subfolders. Thank you!

hmuralt commented 5 years ago

We are currently working on this issue.

derpaschi commented 3 years ago

This is done and can be closed. Thank you.