This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

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

daftspunky
daftspunky

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

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.