added APP_I18N_DIR check