BobCasarini
BobCasarini

I'm trying to correct the translated message from a plugin where the content comes from a localization file and uses the trans helper. In my localization file I've something like that: "succeeded" => [ "subject" => "Conferma per l'ordine #:number", And it becomes when printed: "Conferma per l'ordine #13" Don't know how to force special chars like apostrophes

Last updated

daftspunk
daftspunk

This might be caused be the escape method often used with trans

e(trans(...))

Remove the e() function will stop the encoding from happening.

BobCasarini
BobCasarini

Thanks for your answer @daftpunk. It works fine.

1-3 of 3