Updated to use lc-messages-dir instead of languages.