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?

Reply 1 (1)

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