Core/Chat: Fix a compile warning, locale is no longer used