internationalization - How to disable the Symfony translation for specific bundles -
i creating webapp running symfony 2.7, designed used 1 language (a unique locale). can see in profiler many missing messages in every translation domain, don’t need translation @ all.
how can disable translation component?
edit : if want keep translation bundles, , disable others bundles ? instance, have sonata admin bundle, , want keep using in translation, don't want symfony translation messages other bundles.
edit 2 : guess it's not possible disable translation 1 of own bundle ? still have missing translation messages warning in profiler.
you can disable translation configuration. edit app/config/config.yml
framework: translator: enabled: false
Comments
Post a Comment