1

I currently have auto-generated titles that contains accents and so does the slugs.

Since the slug is used to generate assets folders, accents aren't suitable and results in question marks in the folder names.

I was hoping that limitAutoSlugsToAscii would answer this problem but it only affects the javascript for dynamically generated slugs.

Is there a simple way to achieve this ?

1

Since the slug is used to generate assets folders, accents aren't suitable and results in question marks in the folder names.

You could do something similar to How to rename filename of asset before (or after) upload in Craft 3 in a plugin except you run the folder name through the same ASCII normalization process that auto-generated slugs go though.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.