Open damonsson opened 8 years ago
the locales are implicit. depending on your set up, it means either a child node for the corresponding locale or translated properties exist in your locale.
there is https://github.com/sonata-project/SonataTranslationBundle/ which should make the translation things in this bundle obsolete. maybe @nicolas-bastien where this could belong (if its not already provided)?
Is it possible filter static content by locales?
TranslatableExtension.php
doesn't have methodconfigureDatagridFilters
. If i wish filter content by language, what i must do?I tried with add method
configureDatagridFilters
with content$datagridMapper->add('locales', 'doctrine_phpcr_string');
but I had errorCould not find a mapped field or association named "locales" for alias "a"