I am strugling to get resource ID based on context with babelTranslation?
Here is my example
[[!getContext]]
[[BabelTranslation? &contextKey=`[[!getContext]]` &resourceId=`4`]]
Snippet getContext
<?php
$contextKey = $modx->context->key;
return $contextKey
With this approach I alsways get nothing back, i dont know why, i hope it will return ID od translated resource from context ;