added language file detection for blocks
added ability to specify a default language when generating navigation items