Fix missing `clear()` of SortedDict
Fix i18n process, for project and apps extraction, it'll create application first, so that
  user defined tag will be registered correctly. But user defined tag will be limited later.