Determining if a Translation Line Exists With has | Laravel 5: String Translation Public API
The has method determines if a translation line exists for the specified locale. It accepts a $key , which corresponds to an array key within the translation group file, i.e., user . The method also accepts a $locale , which can be used to...