src/Charcoal/Admin/Script/Translation/TranslateScript.php
public function oppositeLanguages()
    {
        $cfg = $this->app()->config();
        $locales = $this->locales();
        $languages = $locales['languages'];

        $opposite = [];
        $orig = $this->origLanguage();

        foreach ($languages as $ident => $opts) {
            if ($ident != $orig) {
                $opposite[] = $ident;
            }
        }
        return $opposite;
    }
public function oppositeLanguages()
    {
        $cfg = $this->app()->config();
        $locales = $this->locales();
        $languages = $locales['languages'];

        $opposite = [];
        $orig = $this->origLanguage();

        foreach ($languages as $ident => $opts) {
            if ($ident != $orig) {
                $opposite[] = $ident;
            }
        }
        return $opposite;
    }
public function oppositeLanguages ( ) { $ cfg = $ this -> app ( ) -> config ( ) ; $ locales = $ this -> locales ( ) ; $ languages = $ locales [ 'languages' ] ; $ opposite = [ ] ; $ orig = $ this -> origLanguage ( ) ; foreach ( $ languages as $ ident => $ opts ) { if ( $ ident != $ orig ) { $ opposite [ ] = $ ident ; } } return $ opposite ; }
Get opposite languages from DATABASE

@return [type] [description]
Get opposite languages from DATABASE