Translation Missing: New Contact field

Solved
Limes
Tourist
3 0 0

Hey Guys, 

 

I added in some code to put into an additional Subject Line text field in my contact form - but it's coming up as Translation Missing as shown in the image. 

I've gone into the "edit default theme content" section to try and find the missing translation or add a new translation link in but I couldn't find anything / know how to do this. 

 

Could someone help me out? 

 

LiamSt_0-1698494870706.png

 

 

Accepted Solution (1)
fadi_yousif
Shopify Partner
311 39 51

This is an accepted solution.

Add the translation in locales/en.default.json. Use Ctrl+F or Cmd+F on macOS, type in "form": { (including the quotes) and hit enter. That's where you need to add the "subject" key-value pair.

Freelance Shopify Developer | Helping Shopify merchants grow with high-converting online stores!
 - Did I help? Leave a tip!
 - Need my help? Chat on Telegram or WhatsApp
 - Was your question answered? Mark it as an Accepted Solution

View solution in original post

Replies 2 (2)
fadi_yousif
Shopify Partner
311 39 51

This is an accepted solution.

Add the translation in locales/en.default.json. Use Ctrl+F or Cmd+F on macOS, type in "form": { (including the quotes) and hit enter. That's where you need to add the "subject" key-value pair.

Freelance Shopify Developer | Helping Shopify merchants grow with high-converting online stores!
 - Did I help? Leave a tip!
 - Need my help? Chat on Telegram or WhatsApp
 - Was your question answered? Mark it as an Accepted Solution

Limes
Tourist
3 0 0

Legend it works thanks Fadi

One additional question I did a test contact form run and I get this label (New customer message on %{creation_date}:) for where the subject line should be: 

Limes_0-1698536124885.png

Any idea where the code is to change that?