Yes, but since I don't build by provider based on page content that may be a problem.
Of course each node will lead to a page and I can check that pages settings.
I don't know what the SitemapProvider will generate and what will be done in runtime but I try to explain
We have (as I posted in first post) a db with all the products/categories etc.
we want to build a sitemap to use for some menus. This we figure out is best done by building a staticSitemapProvider.
All products have diffrent name in diffrent languages. It may be called "Shovel" in english but "Spade" in swedish.
In the code above I took a ref to an example I found and they used the page object when building the sitemap
SiteMapNode node = new SiteMapNode(this, page.ID.ToString(), page.DefaultUrl.Url, page.MenuName);
Here they send in page.MenuName (will be diffrent depending on the language)?
Will this sitemap be in one instance for each language or how does this works? We need to somehow take diffrent fields from our db to send into the "title" parameter of SiteMapNode.
The pages are comming from cmsManager.GetPages, and I figure that it is there you will filter out just the active pages for that language, and is it also there the page knows the active language?
Do you follow me? I want to be able to tell the language of the sitemap beeing generated.