Good day!

Site http://litera.in.ua is multilingual, with module XML sitemap, which genenit http://litera.in.ua/ua/sitemap.xml

The challenge is to remove from the list of links like http://litera.in.ua/ua/node/113 where the prefix is added to the language from the path of the material in another language (like here - the prefix Ukrainian, and the material in Russian).

Can anybody share the solution?

Comments

Dave Reid’s picture

Status: Active » Fixed

If you are using the i18n module you can enable the xmlsitemap_i18n module as well.

neibo’s picture

Dave Reid, its enabled.
The problem is that I can see the english node with russian prefix. The path to such material provides xmlsitemap. This should not be.

neibo’s picture

anyone can help me?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Farreres’s picture

Status: Closed (fixed) » Active

hey, come on, this is not solved even in dev version. I have two languages, spanish and english. All nodes have two versions, one spanish and one english. In the spanish sitemap no node is shown. In the English sitemap everything is listed. Somehow node language is not properly detected. Something is wrong. If you need more info, ask me.

enomertens’s picture

Hi all

Same issue here, 3 sitemaps en, nl, fr

English: ok
Dutch: shows english urls and dutch urls (NOT OK)
French: shows english urls and french urls (NOT OK)

Any solutions yet,.... It seems I'm not the only one :(

Kind regards

Eno

Dave Reid’s picture

Status: Active » Postponed (maintainer needs more info)

1. What is your 'Content selection mode' setting set to on admin/settings/language/i18n?
2. Have you enabled the xmlsitemap_i18n module and created separate sitemaps for each language (and also made sure to edit your default language sitemap and save it)?

enomertens’s picture

Hi thanks already for the fast reply :) actually I'm using the §.x-2.0-beta1 (but i tried the dev too, was the same problem)

1) My content selection settings are on 'mixed current language (if available) or default language (if not) and language neutral

2) yes, it's enabled. My default sitemap was enlgish and I've added the other ones (french and dutch) (I didn't edit anything, the default looked ok, only included the right content types.)

So the other sitemaps are showing the defaul sitemap urls also.

Kind regards,

Eno

Farreres’s picture

hey, sorry for causing the reopening of this issue. I think this problem gets corrected when you empty the caches. Could you please try and check? For me, it was solved after I cleared caches. There is a problem indeed, at least something undocumented that you must do the first time you install.

bavarian’s picture

similar problem here - subscribing !

enomertens’s picture

Hi all,

I solved this problem on my installation. Change the multilingual settings.

Site configuration ==> languages ==> multilingual system ==> select: Current language and language neutral.

Rebuild sitemap, and normally the problem will be solved.

Kind Regards,

Eno

bavarian’s picture

Don't know if my "problem" is related to this module....

The multilingual settings on my site are "current language and language neutral".

Site is running English, Swedish and German language.

3 sitemaps (Swedish was the standard when module was installed first)

Problem description for MENUE items in sitemaps only: Swedish sitemap may show menue-links like this

http://blablabla.xx/sv/content/personal-contact (OK)
http://blablabla.xx/sv/content/second-expample (OK)
http://blablabla.xx/sv/content/third-example (OK)
....
....
further down after links with descriptive paths
http://blablabla.xx/sv/node227 (NOT OK, english version of "personal-contact"link from above)
http://blablabla.xx/sv/node229 (NOT OK, german version of "personal-contact"link from above)

same applies to english sitemap and german sitemap. there the "sv" is replaced with "EN" or "DE" respectively. with a few OK descriptive content-links, and further down, links to the same nodes in other langages again (not ok)

bserem’s picture

#11 seems to do the trick, although in my installation I have "Only Current Language"

now I have two sitemaps, each one with half the links as the sitemap.xml of v1.2