$germanVersionUrl = $modx->makeUrl(4, 'de', '', 'full');
Add a Load Only policy (just needs to have the "load" permission) to the anonymous User Group for the Contexts that should be visible to anonymous users.
I’m sure that this is, because the anonymous user hasn’t got the necessary rights to get the url. But how can I set this up?
