How to get available variables in language editor?

How to get available variables in language editor?

Berger_
New Member
5 0 0

Hello,

 

I want to edit the messages in the language editor, but how do I know which variables are available? E.g. there is a system message for Only n items available which says

You can only add {{ count }} {{ name }} to your cart.

 but if I want to use {{ count }} in the next line at Too many items in cart I get the error

I18n Error: Missing interpolation value "count" for...

 

best regards

Kevin

Replies 3 (3)

julie_p
Visitor
2 0 0

Hello @Berger_ did you ever get an answer for this issue? I came across the same issue.

 

Thanks!

Berger_
New Member
5 0 0

Hi @julie_p 

 

unfortunately not 😞 I didn't solve this problem.

 

julie_p
Visitor
2 0 0
Too bad! I'll let you know if I have any luck 😊 Thanks for the reply!