[Lang Name=Notice]Notice[/lang] Error When Using A Different Language

Hello, so I added a custom language that I cloned from the English database and everything works fine but for one exception, whenever I log out in the custom language, instead of saying "Notice. You have been logged out." it says "[lang name=notice]Notice[/lang] You have been logged out." instead, and I'm not quite sure why. However, when I log in using the custom language, it just says "Notice" without the extra text, so that's fine. Any thoughts on how I can fix this?

After some more experimenting, I found this only happens when I log out of the storefront while logged in as an administrator account, when using a customer account or a vendor account, it looks fine. I'd still like fix this if I can though, so any help would be appreciated.

Looks like translation mode is enabled in the store. Try to disable it.