fixed i18n dependency when compiled with detached HEAD