Relations between entities do not persist across locales

System Information
  • Strapi Version: 4.3.0
  • Operating System: Linux
  • Database: Postgres
  • Node Version: 16.*
  • NPM Version:
  • Yarn Version:

Hello! After building a lot of entities with relations between them and doing some customisation, we realised yesterday that relations do not persist between locales. This might be expected behaviour (?) or there’s something we are missing, like that relations would be unified with the upgrade db migration to 4.5.1 (no relation duplicates)? Either way I will give an example to make sure our case is clear.

First of all, we are still in pre-release which is why we have not prioritised upgrading to the latest version of Strapi. Apologies if I’m rallying the troops for something that would have been solved by an upgrade.

An entry of entity A has relations to entries of entities B and C. I can see that there are relations either from the entity A listing view or from the entity A entry details view. If I switch locale from either of those 2 contexts, the relations are no longer there.

Our expectation is that relations between entities should not be “localised”, i.e they should be the same between locales.

Very grateful in advance for any assistance on this!

Peter

I met the exact same problem, is there any solution yet ?

Hi Justin. No “great” solution I’m afraid. No one answered as you can see so I can only assume the issue to be expected behaviour?

We are not heavily dependant on localisation yet so our solution was to create extra fields for the other locale so that we would have e.g ‘title_sv’ and ‘title_en’ where necessary. After that we deleted the second locale to prevent relations being made where they would not be accessible.

Do let me know if you have found a better solution.

Thank you for your answer.
I tried my luck on discord server but same result, not an answer.
No solution were found from our side, we let it as not feasible.