tags:

views:

44

answers:

1

I've created a small article site. I am using, translema to store the same article in several languages (it creates copies of selected fields in the database, so they can be translated), How can I generate sitemaps in this case?

(Forget to say, that I am using localurl application, so my urls look like this http://site/en).

+1  A: 

The sitemap app works by letting you write sitemap classes, that each have an items method. You simply have to construct one such class per language you have, and make sure you query only models with that specific language for each class. The documentation has a simple sitemap example to get you started.

Emil Stenström