Slice Machine does not support Cyrillic slice names — model and screenshot files end up in root slices folder

Hello!

I want to use slice names in Cyrillic (Russian) for my project. However, Prismic Slice Machine does not allow me to enter Cyrillic characters when creating a new slice — it only accepts Latin characters for the slice name/API ID.

To work around this, I manually set the display name in Cyrillic in the model.json file of each slice (for example, "name": "Контакты"). The folder and API ID remain in Latin (e.g., Contacts).

The problem is:

Whenever I make changes to a slice using Slice Machine (for example, editing the model or updating the screenshot), the updated model.json and screenshot.png files are saved in the root slices folder, not in the specific slice’s folder. This causes issues with slice previews and organization.

How can I use Cyrillic display names for slices and still have Slice Machine save the model and screenshot files in the correct slice folder?

Is there a recommended way to support non-Latin display names for slices?

Thank you!

Hello @vagmen27,

Thanks for raising this! We don't currently support non-latin letters/alphabets in the Slice Machine. I completely see your use case for this, so I'm going to make a feature request and bring it to the team. I can't promise they'll get to it immediately, but they take user feedback very seriously and will have a look at it. I've linked this forum post to it, so whenever we have news, we can keep you updated :slight_smile:

Regarding the way you've been working around this, it works in the model.json because you're doing it manually, but I'm afraid since we don't support it, there's not going to be a way for it to seamlessly work the way it should. If it works to manually move them back, you can continue doing this for the time being, but it must not recognize and link the modified name with non-supported letters.

I hope this helps!