I want to make aliases for different languages in my own modules code. For that reason I want to apply all the general replace patterns of pathauto to a string. For example replace spaces by seperators and special characters.
Is there a function, which does exactly that?