APIs & Integrations

適用対象外

Get Translated page

解決

Hi!
How I can get the translation version of page directly?
We have one custom global module and we need set de url of one page equivalent.
Ideally:
href="{{ content.slug.es }}">Espanish
href="{{ content.slug.en }}">English

Is this possible?

Thanks!

0 いいね!
1件の承認済みベストアンサー
3PETE
解決策
HubSpot Employee
HubSpot Employee

Get Translated page

解決

@Jorgibiris You will have to build it yourself via HubDB. You can pull the root domain of the current site they are on to dynamically translate any links.

元の投稿で解決策を見る

0 いいね!
4件の返信
3PETE
HubSpot Employee
HubSpot Employee

Get Translated page

解決

@Jorgibiris You could use HubDB for something like this. Where you can store the translated values there. Depending on what you are trying to do you could also look for a tool like Google Translate which will try and translate everything for you in real time.

0 いいね!
適用対象外

Get Translated page

解決

Thanks @pmanca. Only I just want to create a link to the same page but in other language.
Is there no direct access to this value? similar to content.translated_slug.es. It would be ideal :slight_smile:

0 いいね!
3PETE
解決策
HubSpot Employee
HubSpot Employee

Get Translated page

解決

@Jorgibiris You will have to build it yourself via HubDB. You can pull the root domain of the current site they are on to dynamically translate any links.

0 いいね!
適用対象外

Get Translated page

解決

Thanks, I will do so.

0 いいね!