Implement a locale filter (Closes #5)