To whom it may concern:
I uploaded JLSitemap extension for my joomla 4alpha12 based site, it is fixed for English and Russian Language.
So easily you may extend this remarkable extension to any language as for my site French language .
In models/sitemap.php line:No 470 I added
$lang = Factory::getLanguage();
$l = $lang->getTag();
if(pregmatch('/fr-FR/'), $l)
$defaultLanguage =ComponentHelper::getParams('com_language')->get('site', 'fr-FR');
else
if(pregmatch('/en-GB/'), $l)
$defaultLanguage =ComponentHelper::getParams('com_language')->get('site', 'en-GB');
else
...
//any language your developers would like to add or all in a switch case.
Then in layout so easily based on the language tag or code you may print only links belong to related active language
I used a layout override so that in the next update of your extension changes remain .
Thanks again and good luck
K W Nowrouzian
Senior Manager
kwproductions121.com