All path aliases are entered by hand. I need them to be language independent. Currently they are created/updated in the language that the user is currently using which does not make sense in case of my site.

I tried using hook\_path\_insert and hook\_path\_update but they only receive the $path by value and not by reference and changing the function to hook\_path\_update(&$path) results in an error.

How to change the language of inserted or updated paths to LANGUAGE\_NONE using a module? Alternatively, how can I force all aliases to be language independent automatically when user enters them? I don't think it is not possible; it is possible to allow them to choose the "All" language, but not force it.