Is it possible to use the translate filter in order to get nested vocabulary entries? For example having a vocabulary file like this:


return [
    'login'             => 'Einloggen',
    'registration'      => 'Anmeldung',
    'forms'             => [
      'email'                => 'Email',
      'password'             => 'Passwort',

I would like to get the vocabulary properties in the template in the following way:

<p>{{ 'forms.email' | t }}</p>



Not currently. Might be worth a feature request, though?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.