Good afternoon! I'm trying to create basic multi-lingual project. I'm using Phalcon\Translate\Adapter\NativeArray:
  $di->set('translate', function(){
      // Some Code
      return new \Phalcon\Translate\Adapter\NativeArray(array(
      "content" => $messages
      ));
  });How can I access to multi-dimensional array? E.g: my en.php file:
  <?php
  $messages = [
          'pages' => ['index' => ['title' => 'Main',
                                             'greetings' => 'Hello %name%'
                                             ]
                            ]
           ];In my controller:
    echo $this->translate['pages']['index']['title']; It will display the word "Main", but how can I replace %name% ? I need to use:
$this->translate->query(); But I don't know how to specify the index of multi-dimensional array as argument.
Thanks for your help.