Sections translation - translationsRegister GraphQL

YlonaF
Visitor
1 0 0

Hi everyone,

 

I am currently developing a public app which displays whether the product is already in the cart or not.

I made a theme app extension for that, so I have an app block, and I would like the text to be translatable by the merchant. 

 

The text is editable by the merchant thanks to the section settings but he can't translate it.

 

How could I make it appear in the translations of the theme ? I would like the translations to be dynamic and done by the merchants according to the languages he had publish in his store.

 

I'm trying to understand the 'translationsRegister' in GraphQL API but I'm kinda lost... and don't even know if it relevant to try this...

Can someone help ? 

 

Thank you very much 

Replies 0 (0)