تخطي الملاحة
Sun Mon Tue Wed Thu Fri Sat
12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 - -
- - - - - - -

المنطقة الزمنية الداعمة: Asia/Karachi (GMT+05:00)

الوسوم: 

يحتوي هذا الموضوع رد واحد ، لديه 1صوت.

آخر تحديث بواسطة horeaR-2 قبل شهرين، 1 أسبوع.

يساعده: Noman.

مؤلف المقالات
سبتمبر 26, 2024في 8:15 ص

horeaR-2

Background of the issue:
Hello,
I'm trying to make the kubio blocks translatable. But we encountered an error. The links do not show up for translation. We configured the wpml-config.xml for our kubio/link button to know that the link attribute is translatable. But it still not visible in the translation. If you search for "HTTP" in the translation wizard it will show up but we want to show up by default like it does for the WordPress core/button link.

The difference between our link button and the core button is that we don't save the HTML for the link. We create the HTML dynamically from PHP, in the database you only see the attribute.

Here is an example:

Kubio Link in english

In the wpml-config we added this configuration for the kubio namespace to detect the link attributes:

And here is the configuration for the link block to detect the label of the link:

//*

Symptoms:

Questions:

سبتمبر 26, 2024في 9:57 ص

الموضوع '[مغلق] Block translation – Links that are only attributes are not translated ' مغلق أمام الردود الجديدة.