I think the approach here would be the one we use for pretty names in .LRN, namely to use the <span>#</span>package_key.message_key# syntax. Then, when those pretty names are to be displayed in the UI we invoke lang::util::localize to get the translated string.