Sections everyware and Translation APIs

Highlighted
Shopify Partner
1353 24 226
Hi,
This is a mixed question, hope this is the right place to post.
With the new sections everyware goodness, merchants will be leveraging this functionality.
A lot of the store content will be assigned trough sections.
 
How will the Translation API work with the new sections?
The TranslatableResourceType does not seems to allow access to sections content.
Will we be able to provide translators for sections content/blocks?
Am I wrong?
 
Thank you
https://sections.design tips, tricks & Shopify sections
2 Likes
Highlighted
New Member
1 0 0

Would like to reiterate, is this something that is planned for the future?

0 Likes
Highlighted
Shopify Partner
1353 24 226

@Meekah both "sections everyware" and Translation API are available in Unite Preview.

Not sure when will roll out.

https://sections.design tips, tricks & Shopify sections
0 Likes
Highlighted
Shopify Partner
12 0 2

is it possible to translate section schema and apps content in new released translation apis ? Also email and sms templates ?

0 Likes
Highlighted
Shopify Staff
Shopify Staff
620 15 165

Hi there @sweta25_jadav & @Mircea_Piturca,

 

I've looked into this, and it seems the Translation API currently cannot access the settings_data.json file. Since this is currently where content is stored when a merchant populates a field for a sections setting, the Translation API can't be used here. What you could do is add more content to the existing theme locale files and reference these values to translation keys in the code of your theme.  

 

For the new sections architecture, content for section settings will not be stored on the theme level, but on a store level, as a page resource. These fields and resources are currently not accessible by the Translation API, but we are looking into the best way to make these translatable and multi-lingual. 

 

I hope this helps,

 

Liam

Liam, Community Manager
0 Likes
Highlighted
Shopify Partner
1353 24 226

@Liam thank you for the explanation.

It makes sense and answers my question.

Playing with Translation API I was unable to access and translate the current sections content.

 

We are all really looking forward for the new sections architecture :)

 

Thank you,

Mircea

https://sections.design tips, tricks & Shopify sections
0 Likes
Highlighted
Shopify Partner
12 0 2

@Liam I have found that using "ONLINE_STORE_THEME" translation api we are able to translate some of the section content.. but don't know why some of the section contents are missing.. according to me I think shopify allows translation of schema content which is text or textarea..

1 Like