Revert "Revert "Enhance language filter""

This reverts commit 49fdfc4431df5f11d90f3c9ec899b5cb3e3e65eb.
Fix a typo