fixed a bug in the translator that occurs when the translation array does not exit.
Happens when the session data is clear on logout.