It seems that Google Translate breaks Bootstrap tab mechanism

267 views
Skip to first unread message

Dario de Judicibus

unread,
Feb 10, 2022, 5:25:47 AM2/10/22
to Google Cloud Translation API
If I apply Google Translate to my site, the Bootstrap tab mechanism stops working.

TRY THE FOLLOWING

Go to

https://genealogia.dejudicibus.it/index.php?f=dejudicibus&b=ventimiglia&c=xiv&p=13__a

This is made by using the Bootstrap tabbable divisions. If you click on "Fonti" you see the second section. If you INSPECT code, you can see that the href is simply a fragment, that is,

<a class="nav-link" id="tab-t13__a-1" data-toggle="tab" href="#t13__a-1" role="tab" aria-controls="t13__a-1" aria-selected="true">Fonti</a>

Now, if you click on the top-right white icon to translate to English (not the automatic translator popup a browser may offer)...

See https://i.stack.imgur.com/34yRh.png

... you can see that the link is changed to

<a class="nav-link" id="tab-t13__a-1" data-toggle="tab" href="https://genealogia-dejudicibus-it.translate.goog/index.php?_x_tr_sl=it&amp;_x_tr_tl=en&amp;_x_tr_hl=en-US&amp;_x_tr_pto=wapp#t13__a-1" role="tab" aria-controls="t13__a-1" aria-selected="true"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">Sources</font></font></a>

That breaks the Bootstrap mechanism. If you click on "Sources" nothing happens.

Any help is appreciated.

Dario de Judicibus

Kevin

unread,
Feb 10, 2022, 11:42:36 AM2/10/22
to Google Cloud Translation API
Hi,

As this group is dedicated to the Cloud Translation API and your issue seem to be related to Google Translate, I suggest that you reach out to their community in order to find assistance.

In any case, as Google Groups are reserved for general product discussions, should your issue be indeed related to the Cloud Translation API, then I would recommend you to create an Issue Tracker, which is for product issues (unexpected behaviors) and feature requests.

Best regards

Dario de Judicibus

unread,
Feb 24, 2022, 1:08:19 PM2/24/22
to Google Cloud Translation API
Well, I asked the question there and they told me to ask it here. Now you tell me to ask it there. Which is the right place? The proble is related to code of Google Translate.

Fatemeh shahidi

unread,
Feb 24, 2022, 3:22:20 PM2/24/22
to Google Cloud Translation API, محمدرضا محمدرضا دودانگه

در تاریخ پنجشنبه ۲۴ فوریهٔ ۲۰۲۲،‏ ۲۱:۳۸ Dario de Judicibus tramite Google Cloud Translation API <google-tra...@googlegroups.com> نوشت:
--
You received this message because you are subscribed to the Google Groups "Google Cloud Translation API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-translate...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-translate-api/54c65e9c-2954-475d-92ae-3875888a2b04n%40googlegroups.com.

Samar Amara

unread,
Feb 24, 2022, 8:42:30 PM2/24/22
to Google Cloud Translation API
Hi
 Can you share the link to the issue your created  in Issue Tracker, where you already asked the questions, I could not find it.

It may give us the full context why it related to code of Google Translate.

Fatemeh shahidi

unread,
Feb 24, 2022, 10:40:06 PM2/24/22
to Google Cloud Translation API on behalf of Samar Amara
وصل تلویزیون  شود

در تاریخ جمعه ۲۵ فوریهٔ ۲۰۲۲،‏ ۰۵:۱۲ Samar Amara via Google Cloud Translation API <google-tra...@googlegroups.com> نوشت:
--
You received this message because you are subscribed to the Google Groups "Google Cloud Translation API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-translate...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages