jpillora / notifyjs

Notify.js - A simple, versatile notification library
https://notifyjs.jpillora.com/
MIT License
1.91k stars 743 forks source link

NotifyJs issue with punctuation in different language #145

Open mcpanthers22 opened 1 year ago

mcpanthers22 commented 1 year ago

Hello! I have been using Notify.Js for a while and recently was requested to translate my web app to use es-CO and en-US interchangibly. I am using a shared Resources for each of the languages and with that localizer all seemed well until I got to my jquery that is using the Notify with my success messages. For some reason the message "¡Éxito! Se ha creado el equipo" turns out to be a slew of characters followed by "xito! Se ha creado el equipo". I can assume that it is the "¡É" that is throwing it off, but I am unsure of how to fix this issue. Any help with this would be amazing. I will tag the success message and my code Thanks

jQuery.notify("@Localizer["TeamCreated"]", { className: "success", globalPosition: "top center" });

image