Please, help. How I can create 2 categories in main and language shop with similar urls?
For example I wanna get for 2 categories food
and eaten
links like food
and /de/food
.
By default you have an own category-tree for every shop/language. Every shop needs a unique identifier (like virtual url /de or an own domain). In this case everything should work by default, without any additional configuration.
You should have a look at the s_core_rewrites_url and check which urls are created for your case.
Every url needs to be unique - so there is no possibility to get "/food" in the same language twice. By adding a unique identifier like the category-id in the seo/router configuration of the basic settings, you can modify the urls, as explained in the documentation: https://en-community.shopware.com/_detail_1143.html
Regenerating SEO-URLs is possible via backend and via CLI