ok, let me correct you, if jed is defined you have to check for the msgIdExists - if not than jed becomes default Language than you have to check the msgId again in order to switch the msgId to the messageText if this was the custom id and jed falls to empty jed. you have to double check, cause in most of the cases will be defined.