Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Template Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

ChildrenOf() with Translatable extension

Go to End



Community Member, 4 Posts

28 November 2012 at 1:42am


what is the intended behavior when using ChildrenOf() in a multilanguage page that uses the Translatable extension?

Since ChildrenOf() takes a url-string as argument and url-strings can (and will) be localized it became pretty much useless, or?

In my special case I´m generating a menu with something like ChildrenOf(work). In German this needs to become ChildrenOf(arbeit).

What is the recommended way to go here? Do I have to check for the selected language and map it to the relevant url-string?

What can be an alternative for building menus from only part of the site tree?