Using same slug on different locales

I managed to register an entry translation with same slug as first language.

To do so I :

1) dropped unique constraint from database (postgresql here):

ALTER TABLE public.services DROP CONSTRAINT services_slug_unique

2) And then changed JS model for slug, from “uid” to “string”:

/src/api/service/content-types/service/schema.json

Original:
“slug”: {
“type”: “uid”,
“targetField”: “title”
},

Fixed:
“slug”: {
“type”: “string”,
“targetField”: “title”
},

I also did “npm run build” and restarted strapi container.

I intend to raise a new unique constraint, now adding locale as part of it:
ALTER TABLE public.services ADD CONSTRAINT services_slug_unique UNIQUE (slug, locale).

running latest api/strapi versions here : 4.4.3 (but should work on ohter versions).

:+1: