Получаем детей в мультиселект по id родителя с учетом контекста
В значение ТВ возможные значения прописываем:
@EVAL return $modx->runSnippet('NewSnippet');
Создаем сниппет NewSnippet, сниппет использует BabelTranslation:
<?php
$context_key = $modx->resource->get('context_key');
$parentGall = $modx->runSnippet('BabelTranslation',array(
'showUnpublished' => '1',
'resourceId' => 9,
'contextKey' => $context_key
));
$array_ids = $modx->getChildIds($parentGall,1,array('context' => $context_key));
$str = 'Empty==||';
foreach($array_ids as $val){
$doc = $modx->getObject('modResource', $val);
$str .= $doc->get('pagetitle').'=='.$val.'||';
}
$str = substr($str, 0, -2);
return $str;