classes/Input/Localize.php
public function localizableLocales()
    {
        // Keep only locales that don't exist in ...
        return array_diff_key(
            Config::get('decoy.site.locales'),

            // ... the locales of other localizations ...
            $this->other()->pluck('locale')->flip()->toArray(),

            // ... and the model's locale
            [$this->item->locale => null]
        );
    }
public function localizableLocales()
    {
        // Keep only locales that don't exist in ...
        return array_diff_key(
            Config::get('decoy.site.locales'),

            // ... the locales of other localizations ...
            $this->other()->pluck('locale')->flip()->toArray(),

            // ... and the model's locale
            [$this->item->locale => null]
        );
    }
public function localizableLocales ( ) { // Keep only locales that don't exist in ... return array_diff_key ( Config :: get ( 'decoy.site.locales' ) , // ... the locales of other localizations ... $ this -> other ( ) -> pluck ( 'locale' ) -> flip ( ) -> toArray ( ) , // ... and the model's locale [ $ this -> item -> locale => null ] ) ; }
Get a hash of locales that are available for the item

@return array
Get a hash of locales that are available for the item