src/Repositories/TranslationRepository.php
public function allByLocale($locale, $perPage = 0)
    {
        $translations = $this->model->where('locale', $locale);
        return $perPage ? $translations->paginate($perPage) : $translations->get();
    }
public function allByLocale($locale, $perPage = 0)
    {
        $translations = $this->model->where('locale', $locale);
        return $perPage ? $translations->paginate($perPage) : $translations->get();
    }
public function allByLocale ( $ locale , $ perPage = 0 ) { $ translations = $ this -> model -> where ( 'locale' , $ locale ) ; return $ perPage ? $ translations -> paginate ( $ perPage ) : $ translations -> get ( ) ; }
Return a list of translations for the given language. If perPage is > 0 a paginated list is returned with perPage items per page.

@param  string $locale
@return Translation
Return a list of translations for the given language . If perPage is > 0 a paginated list is returned with perPage items per page .