Translations:J3.x:Developing an MVC Component/Upgrading to Joomla4/6/en
From Joomla! Documentation
If you're installing the Joomla 4 tutorial code on a new Joomla instance then you will need to configure your instance to make it multilingual and add in the Ajax hidden menuitems as described in the step Using the language filter facility. Also ensure that every helloworld record has a valid category.