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
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
This might be caused be the escape method often used with trans
e(trans(...))
Remove the e() function will stop the encoding from happening.
1-3 of 3