Since you know that only English is allowed on the main chat, you broke the rule by talking your language on the main chat. Instead, you should've
/m (player) and tell your friend.
To get perm mute, it means that a staff warned you several times to take foreign languages to pm.