flamingo-commerce icon indicating copy to clipboard operation
flamingo-commerce copied to clipboard

How to translate offline paymenent

Open mishop opened this issue 4 months ago • 1 comments

Can you please help me how to translate: func (o *OfflineWebCartPaymentGateway) Methods() []domain.Method { return []domain.Method{ { Title: "cash on delivery", Code: "offlinepayment_cashondelivery", }, { Title: "cash in advance", Code: "offlinepayment_cashinadvance", }, } }

I try in json as: { "id": "offlinepayment_cashinadvance", "translation": "Plaćanje unapred" }, { "id": "offlinepayment_cashondelivery", "translation": "Plaćanje pouzećem" }

and try as: ` { "id": "checkout.payment.offlinepayment_cashondelivery", "translation": "Plaćanje prilikom preuzimanja" },

{ "id": "checkout.payment.offlinepayment_cashinadvance", "translation": "Avansno plaćanje" }`

But not working.

mishop avatar Oct 13 '24 16:10 mishop