How to create localized entries from code?

I’m using also 4.24.2, but the solution is not really working for me - only the main language is showing all localised versions in the dashboard, but when switching to the other locales, they are shown like standalone entries - so no connection to the other locales… @Bishop can you confirm me, that this works fine for you?