On Thu, 2010-09-02 at 13:36 +0300, blouhwtf wrote:
Is there a way to perform some actions in code when deleting a language ? I've tried to find some hooks in the API but couldn't find what i need.

Unfortunately there is no hook for that (I think that it should be), and the only thing that I can think of is really a hack: create hook_watchdog and catch locale's watchdog entry (from locale.inc):

watchdog('locale', 'The %language language (%code) has been created.', array('%language' => $name, '%code' => $langcode));