What's your biggest current challenge? Have your say in Community Polls along the right column.

How can I access theme locales in a theme app extension?

How can I access theme locales in a theme app extension?

seismo
Shopify Partner
5 0 10

Hi, I'm trying to access the default theme locales in my theme app extension's app block. If I try the following I get an translation missing error:

 

 

{{ 'customer.login_page.email' | t }}

 

 

 

Is there a way to access the locales or assets in general from the user's theme in a theme app extension?

Replies 2 (2)

emilianoc
Shopify Partner
1 0 0

Hello, i'm in the same situation, does anyone have the solution?

I could replicate the theme's locale  on my  app extension but it is useless if one day the user will modify/add a translation on the theme.

 

thanks

Dzonotonas
Shopify Partner
21 2 8

Does anyone have a solution?