There is no translation in the file en-GB.com_sppagebuilder - Forum | JoomShaper
Solved SP Page Builder

There is no translation in the file en-GB.com_sppagebuilder

Asked by Viktor 6 months ago Last activity 5 months ago

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff

Opss, noted & shared with dev team. But in general, you're happy ;)

13 more replies

Ziaul Kabir Staff

Hello Viktor,

Thank you for reaching out to us.

You are correct. I have forwarded this to our development team for further review.

Thank you for your patience and understanding.

Best regards,

Paul Frankowski Senior Staff
6 months ago · edited

Yes, they are hard-coded here: components\com_sppagebuilder\addons\comment\site.php

by now you can translate inside the file.

Viktor Asked this

Thanks Paul, but that doesn't solve the problem.

Ziaul Kabir Staff

JRoot/components/com_sppagebuilder/addons/comment/site.php you can add translations here.

Thanks

Viktor Asked this
6 months ago · edited

Thanks, Ziaul, but that's not what we need.

Ziaul Kabir Staff

Please, wait for our next release.

Thanks

Paul Frankowski Senior Staff
6 months ago · edited

We provided a temporary alternative; it's up to you whether to use it.

Of course, it's better to wait for the official update to get solid/universal code.

Viktor Asked this

I waited for the update, checked, but there's still one word that can't be translated.

Edited - ../public_html/components/com_sppagebuilder/addons/comment/site.php

Line 400 - $output .= '<span class="sppb-comment-edited-time"> • Edited ' . $this->getRelativeTime($comment->modified) . '</span>';

Screenshot: https://disk.yandex.ru/i/M0SqI8ZiQes3fw

Viktor Asked this

Dear support, After the update com_sppagebuilder_pro_v6.3.2, When editing a comment, two identical buttons appear "Update".

Screenshot: https://disk.yandex.ru/i/RyGMxP7UrT1ScA

<button class="sppb-comment-edit-button sppb-comment-edit-cancel-btn sppb-btn  sppb-btn-md sppb-btn-rounded" id="sppb-comment-edit-button-0" data-comment-id="13">Update</button>

<button class="sppb-comment-edit-button sppb-comment-edit-cancel-btn sppb-btn  sppb-btn-md sppb-btn-rounded" id="sppb-comment-edit-button-1" data-comment-id="13">Update</button>
Paul Frankowski Senior Staff

Opsss, Both works the same, or only one works?

Temporary hide 2nd one using

button#sppb-comment-edit-button-1 {display: none; background: transparent;}

Shared with dev team

Viktor Asked this
5 months ago · edited

These are different buttons, one works as Cancel, the other as Update.
Try accessing the site through hidden content.

Log in to reply.