Flexible E-Commerce Framework on top of Flamingo. Used to build E-Commerce "Portals" and connect it with the help of individual Adapters to other services.
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"
},
hello, if I understand it correctly, you're using flamingo-demo-carotene, since it's a demo project it has only few examples. Translation for those fields is not supported, but if you want - you can contribute to add this support.
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.