Fixed the broken localization directory path in theme mode