Manager/DictionaryManager.php
public function syncDictionary()
    {
        $this->kernel           = $this->get('kernel');
        $this->locales          = $this->getLocales();
        $this->propertyAccessor = PropertyAccess::createPropertyAccessor();
        $this->filesystem       = new Filesystem();
        
        foreach ($this->locales as $locale) {
            $this->updateFilesystemTranslationsForLocale($locale);
        }
        
        $this->synchronizeDatabaseTranslations();
    }
public function syncDictionary()
    {
        $this->kernel           = $this->get('kernel');
        $this->locales          = $this->getLocales();
        $this->propertyAccessor = PropertyAccess::createPropertyAccessor();
        $this->filesystem       = new Filesystem();
        
        foreach ($this->locales as $locale) {
            $this->updateFilesystemTranslationsForLocale($locale);
        }
        
        $this->synchronizeDatabaseTranslations();
    }
public function syncDictionary ( ) { $ this -> kernel = $ this -> get ( 'kernel' ) ; $ this -> locales = $ this -> getLocales ( ) ; $ this -> propertyAccessor = PropertyAccess :: createPropertyAccessor ( ) ; $ this -> filesystem = new Filesystem ( ) ; foreach ( $ this -> locales as $ locale ) { $ this -> updateFilesystemTranslationsForLocale ( $ locale ) ; } $ this -> synchronizeDatabaseTranslations ( ) ; }
Synchronizes database and filesystem translations
Synchronizes database and filesystem translations