The __ function translates the given translation string or translation key using your localization files:
<?php echo __('Welcome to our application');

echo __('messages.welcome');
<?php     public static function title()

    {

        return __('Delete');

    }



    public function visibleTo($item)
<?php     {

        return [

            'behavior' => [

                'display' => __('Localizations'),

                'instructions' => __('statamic::messages.choose_entry_localization_deletion_behavior').' <a href="'.Statamic::docsUrl('/knowledge-base/localizing-entries#deleting').'" target="_blank">'.__('Learn more').'</a>',

                'type' => 'button_group',

                'options' => [
<?php         return [

            'behavior' => [

                'display' => __('Localizations'),

                'instructions' => __('statamic::messages.choose_entry_localization_deletion_behavior').' <a href="'.Statamic::docsUrl('/knowledge-base/localizing-entries#deleting').'" target="_blank">'.__('Learn more').'</a>',

                'type' => 'button_group',

                'options' => [

                    'delete' => __('Delete'),
<?php                 'instructions' => __('statamic::messages.choose_entry_localization_deletion_behavior').' <a href="'.Statamic::docsUrl('/knowledge-base/localizing-entries#deleting').'" target="_blank">'.__('Learn more').'</a>',

                'type' => 'button_group',

                'options' => [

                    'delete' => __('Delete'),

                    'copy' => __('Detach'),

                ],

                'validate' => 'required',
<?php                 'type' => 'button_group',

                'options' => [

                    'delete' => __('Delete'),

                    'copy' => __('Detach'),

                ],

                'validate' => 'required',

            ],
<?php {

    public static function title()

    {

        return __('Move');

    }



    public function visibleTo($item)
<?php         return [

            'folder' => [

                'display' => __('Folder'),

                'type' => 'select',

                'options' => $options,

                'validate' => 'required',
<?php {

    public static function title()

    {

        return __('Publish');

    }



    public function visibleTo($item)
<?php {

    public static function title()

    {

        return __('Rename');

    }



    public function visibleTo($item)
<?php {

    public static function title()

    {

        return __('Send Password Reset');

    }



    public function visibleTo($item)
<?php         Utility::all()->each(function ($utility) {

            Permission::register("access {$utility->handle()} utility", function ($perm) use ($utility) {

                return $perm

                    ->label(__('statamic::permissions.access_utility', ['title' => $utility->title()]))

                    ->description(__('statamic::permissions.access_utility_desc', ['title' => $utility->title()]));

            });

        });
<?php             Permission::register("access {$utility->handle()} utility", function ($perm) use ($utility) {

                return $perm

                    ->label(__('statamic::permissions.access_utility', ['title' => $utility->title()]))

                    ->description(__('statamic::permissions.access_utility_desc', ['title' => $utility->title()]));

            });

        });

    }
<?php         }



        return $permission->label(

            __('statamic::permissions.'.str_replace(' ', '_', $permission->value()))

        )->description(

            __('statamic::permissions.'.str_replace(' ', '_', $permission->value().'_desc'))

        );
<?php         return $permission->label(

            __('statamic::permissions.'.str_replace(' ', '_', $permission->value()))

        )->description(

            __('statamic::permissions.'.str_replace(' ', '_', $permission->value().'_desc'))

        );

    }
<?php     protected function group($name, $callback)

    {

        return Permission::group($name, __('statamic::permissions.group_'.$name), $callback);

    }

}