created locale spec
refactoring setting locale and hilighting current link