😅Language Full (ok)

Ket qua 1:

Ket qua 2

C:\xampp82\htdocs\testcom\resources\lang\en\global.php

<?php
return [
    'actions'                              => 'Actions',
    'add'                                  => 'Add',
    'allRightsReserved'                    => 'All rights reserved.',
    'areYouSure'                           => 'Are you sure?',
    'clickHereToVerify'                    => 'Click here to verify',
    'create'                               => 'Create',
    'dashboard'                            => 'Dashboard',
    'delete'                               => 'Delete',
    'downloadFile'                         => 'Download file',
    'edit'                                 => 'Edit',
    'emailVerificationSuccess'             => 'User email verified successfully',
    'entries'                              => 'Entries',
    'filterDate'                           => 'Filter by date',
    'forgot_password'                      => 'Forgot your password?',
    'home'                                 => 'Home',
    'list'                                 => 'List',
    'login'                                => 'Login',
    'login_email'                          => 'Email',
    'login_password'                       => 'Password',
    'login_password_confirmation'          => 'Password confirmation',
    'logout'                               => 'Logout',
    'month'                                => 'Month',
    'no'                                   => 'No',
    'pleaseSelect'                         => 'Please select',
    'register'                             => 'Register',
    'remember_me'                          => 'Remember me',
    'reset_password'                       => 'Reset Password',
    'send_password'                        => 'Send Password Reset Link',
    'save'                                 => 'Save',
    'search'                               => 'Search',
    'searching'                            => 'Searching',
    'no_results'                           => 'No results',
    'results_could_not_be_loaded'          => 'The results could not be loaded',
    'search_input_too_short'               => 'Please enter :count or more characters',
    'show'                                 => 'Show',
    'systemCalendar'                       => 'Calendar',
    'thankYouForUsingOurApplication'       => 'Thank you for using our website',
    'timeFrom'                             => 'From',
    'timeTo'                               => 'To',
    'toggleNavigation'                     => 'Toggle navigation',
    'user_name'                            => 'Name',
    'verifyYourEmail'                      => 'Please verify your email',
    'verifyYourUser'                       => 'To finish your registration - site asks you to verify your email',
    'view'                                 => 'View',
    'view_file'                            => 'View file',
    'year'                                 => 'Year',
    'yes'                                  => 'Yes',
    'youAreLoggedIn'                       => 'You are logged in!',
    'yourAccountNeedsAdminApproval'        => 'Your accounts needs an administrator approval in order to log in',
    'submit'                               => 'Submit',
    'datatables'                           => [
        'copy'          => 'Copy',
        'csv'           => 'CSV',
        'excel'         => 'Excel',
        'pdf'           => 'PDF',
        'print'         => 'Print',
        'colvis'        => 'Column visibility',
        'delete'        => 'Delete selected',
        'zero_selected' => 'No rows selected',
    ],
    'action'                               => 'Action',
    'action_id'                            => 'Action id',
    'action_model'                         => 'Action model',
    'address'                              => 'Address',
    'administrator_can_create_other_users' => 'Administrator (can create other users)',
    'aggregate_function_use'               => 'Aggregate function to use',
    'all'                                  => 'All',
    'all_messages'                         => 'All Messages',
    'amount'                               => 'Amount',
    'answer'                               => 'Answer',
    'app_csv_file_to_import'               => 'CSV file to import',
    'app_csvImport'                        => 'CSV Import',
    'app_file_contains_header_row'         => 'File contains header row?',
    'app_import_data'                      => 'Import data',
    'app_imported_rows_to_table'           => 'Imported :rows rows to :table table',
    'app_parse_csv'                        => 'Parse CSV',
    'asset'                                => 'Asset',
    'assets'                               => 'Assets',
    'assets_history'                       => 'Assets history',
    'assets_management'                    => 'Assets management',
    'assigned_to'                          => 'Assigned to',
    'assigned_user'                        => 'Assigned (user)',
    'attachment'                           => 'Attachment',
    'axis'                                 => 'Axis',
    'back_to_list'                         => 'Back to list',
    'basic_crm'                            => 'Basic CRM',
    'budget'                               => 'Budget',
    'calendar_sources'                     => 'Calendar sources',
    'campaign'                             => 'Campaign',
    'campaigns'                            => 'Campaigns',
    'categories'                           => 'Categories',
    'category'                             => 'Category',
    'category_name'                        => 'Category name',
    'change_notifications_field_1_label'   => 'Send email notification to User',
    'change_notifications_field_2_label'   => 'When Entry on CRUD',
    'change_password'                      => 'Change password',
    'chart_type'                           => 'Chart type',
    'code'                                 => 'Code',
    'companies'                            => 'Companies',
    'company'                              => 'Company',
    'company_name'                         => 'Company name',
    'confirm_password'                     => 'Confirm password',
    'contact_management'                   => 'Contact management',
    'contacts'                             => 'Contacts',
    'content_management'                   => 'Content management',
    'copy_paste_url_bellow'                => 'button, copy and paste the URL below into your web browser:',
    'country'                              => 'Country',
    'coupon_management'                    => 'Coupon Management',
    'coupons'                              => 'Coupons',
    'coupons_amount'                       => 'Coupons amount',
    'create_new_calendar_source'           => 'Create new Calendar Source',
    'create_new_notification'              => 'Create new Notification',
    'create_new_report'                    => 'Create new report',
    'created_at'                           => 'Created at',
    'crud_date_field'                      => 'Crud date field',
    'crud_event_field'                     => 'Event label field',
    'crud_title'                           => 'Crud title',
    'csv_file_to_import'                   => 'CSV file to import',
    'csvImport'                            => 'CSV Import',
    'current_password'                     => 'Current password',
    'custom_controller_index'              => 'Custom controller index.',
    'customer'                             => 'Customer',
    'customers'                            => 'Customers',
    'deleted_at'                           => 'Deleted at',
    'description'                          => 'Description',
    'deselect_all'                         => 'Deselect all',
    'discount_amount'                      => 'Discount amount',
    'discount_percent'                     => 'Discount percent',
    'due_date'                             => 'Due date',
    'edit_calendar_source'                 => 'Edit Calendar Source',
    'email_greet'                          => 'Hello',
    'email_line1'                          => 'You are receiving this email because we received a password reset request for your account.',
    'email_line2'                          => 'If you did not request a password reset, no further action is required.',
    'email_regards'                        => 'Regards',
    'end_time'                             => 'End time',
    'entry_date'                           => 'Entry date',
    'excerpt'                              => 'Excerpt',
    'faq_management'                       => 'FAQ Management',
    'featured_image'                       => 'Featured image',
    'fee_percent'                          => 'Fee percent',
    'file'                                 => 'File',
    'file_contains_header_row'             => 'File contains header row?',
    'first_name'                           => 'First name',
    'group_by'                             => 'Group by',
    'if_you_are_having_trouble'            => 'If you’re having trouble clicking the',
    'import_data'                          => 'Import data',
    'imported_rows_to_table'               => 'Imported :rows rows to :table table',
    'inbox'                                => 'Inbox',
    'integer_float_placeholder'            => 'Please select one of integer/float fields',
    'is_created'                           => 'is created',
    'is_deleted'                           => 'is deleted',
    'is_updated'                           => 'is updated',
    'label_field'                          => 'Label field',
    'last_name'                            => 'Last name',
    'location'                             => 'Location',
    'locations'                            => 'Locations',
    'main_currency'                        => 'Main currency',
    'message'                              => 'Message',
    'messages'                             => 'Messages',
    'name'                                 => 'Name',
    'new_calendar_source'                  => 'Create new calendar source',
    'new_message'                          => 'New message',
    'new_password'                         => 'New password',
    'no_calendar_sources'                  => 'No calendar sources yet.',
    'no_entries_in_table'                  => 'No entries in table',
    'no_reports_yet'                       => 'No reports yet.',
    'not_approved_p'                       => 'Your account is still not approved by administrator. Please, be patient and try again later.',
    'not_approved_title'                   => 'You are not approved',
    'note_text'                            => 'Note text',
    'notifications'                        => 'Notifications',
    'notify_user'                          => 'Notify User',
    'outbox'                               => 'Outbox',
    'pages'                                => 'Pages',
    'parse_csv'                            => 'Parse CSV',
    'permadel'                             => 'Delete Permanently',
    'phone'                                => 'Phone',
    'phone1'                               => 'Phone 1',
    'phone2'                               => 'Phone 2',
    'photo'                                => 'Photo (max 8mb)',
    'photo1'                               => 'Photo1',
    'photo2'                               => 'Photo2',
    'photo3'                               => 'Photo3',
    'prefix'                               => 'Prefix',
    'price'                                => 'Price',
    'product_management'                   => 'Product management',
    'product_name'                         => 'Product name',
    'products'                             => 'Products',
    'question'                             => 'Question',
    'questions'                            => 'Questions',
    'recipient'                            => 'Recipient',
    'redeem_time'                          => 'Redeem time',
    'registration'                         => 'Registration',
    'remember_token'                       => 'Remember token',
    'reply'                                => 'Reply',
    'reports_x_axis_field'                 => 'X-axis - please choose one of date/time fields',
    'reports_y_axis_field'                 => 'Y-axis - please choose one of number fields',
    'reset_password_woops'                 => '<strong>Whoops!</strong> There were problems with input:',
    'restore'                              => 'Restore',
    'sample_answer'                        => 'Sample answer',
    'sample_category'                      => 'Sample category',
    'sample_question'                      => 'Sample question',
    'select_all'                           => 'Select all',
    'select_crud_placeholder'              => 'Please select one of your CRUDs',
    'select_dt_placeholder'                => 'Please select one of date/time fields',
    'select_users_placeholder'             => 'Please select one of your Users',
    'send'                                 => 'Send',
    'serial_number'                        => 'Serial number',
    'simple_user'                          => 'Simple user',
    'skype'                                => 'Skype',
    'slug'                                 => 'Slug',
    'start_date'                           => 'Start date',
    'start_time'                           => 'Start time',
    'status'                               => 'Status',
    'statuses'                             => 'Statuses',
    'stripe_transactions'                  => 'Stripe Transactions',
    'subject'                              => 'Subject',
    'subscription-billing'                 => 'Subscriptions',
    'subscription-payments'                => 'Payments',
    'suffix'                               => 'Sufix',
    'tag'                                  => 'Tag',
    'tags'                                 => 'Tags',
    'task_management'                      => 'Task management',
    'tasks'                                => 'Tasks',
    'team-management'                      => 'Teams',
    'team-management-singular'             => 'Team',
    'text'                                 => 'Text',
    'there_were_problems_with_input'       => 'There were problems with input',
    'time'                                 => 'Time',
    'title'                                => 'Title',
    'transaction_date'                     => 'Transaction date',
    'trash'                                => 'Trash',
    'update'                               => 'Update',
    'updated_at'                           => 'Updated at',
    'upgrade_to_premium'                   => 'Upgrade to Premium',
    'user_actions'                         => 'User actions',
    'valid_from'                           => 'Valid from',
    'valid_to'                             => 'Valid to',
    'website'                              => 'Website',
    'when_crud'                            => 'When CRUD',
    'whoops'                               => 'Whoops!',
    'x_axis_field'                         => 'X-axis field (date/time)',
    'x_axis_group_by'                      => 'X-axis group by',
    'y_axis_field'                         => 'Y-axis field',
    'you_have_no_messages'                 => 'You have no messages.',
    'content'                              => 'Content',
    'no_alerts'                            => 'No alerts',
    'calendar'                             => 'Calendar',
    'messenger'                            => 'Messenger',
];

C:\xampp82\htdocs\testcom\resources\lang\en\cruds.php

<?php

return [
    'userManagement' => [
        'title'          => 'User management',
        'title_singular' => 'User management',
    ],
    'permission'     => [
        'title'          => 'Permissions',
        'title_singular' => 'Permission',
        'fields'         => [
            'id'                => 'ID',
            'id_helper'         => '',
            'title'             => 'Title',
            'title_helper'      => '',
            'created_at'        => 'Created at',
            'created_at_helper' => '',
            'updated_at'        => 'Updated at',
            'updated_at_helper' => '',
            'deleted_at'        => 'Deleted at',
            'deleted_at_helper' => '',
        ],
    ],
    'role'           => [
        'title'          => 'Roles',
        'title_singular' => 'Role',
        'fields'         => [
            'id'                 => 'ID',
            'id_helper'          => '',
            'title'              => 'Title',
            'title_helper'       => '',
            'permissions'        => 'Permissions',
            'permissions_helper' => '',
            'created_at'         => 'Created at',
            'created_at_helper'  => '',
            'updated_at'         => 'Updated at',
            'updated_at_helper'  => '',
            'deleted_at'         => 'Deleted at',
            'deleted_at_helper'  => '',
        ],
    ],
    'user'           => [
        'title'          => 'Users',
        'title_singular' => 'User',
        'fields'         => [
            'id'                       => 'ID',
            'id_helper'                => '',
            'name'                     => 'Name',
            'name_helper'              => '',
            'email'                    => 'Email',
            'email_helper'             => '',
            'email_verified_at'        => 'Email verified at',
            'email_verified_at_helper' => '',
            'password'                 => 'Password',
            'password_helper'          => '',
            'roles'                    => 'Roles',
            'roles_helper'             => '',
            'remember_token'           => 'Remember Token',
            'remember_token_helper'    => '',
            'created_at'               => 'Created at',
            'created_at_helper'        => '',
            'updated_at'               => 'Updated at',
            'updated_at_helper'        => '',
            'deleted_at'               => 'Deleted at',
            'deleted_at_helper'        => '',
        ],
    ],
    'status'         => [
        'title'          => 'Statuses',
        'title_singular' => 'Status',
        'fields'         => [
            'id'                => 'ID',
            'id_helper'         => '',
            'name'              => 'Name',
            'name_helper'       => '',
            'color'             => 'Color',
            'color_helper'      => '',
            'created_at'        => 'Created at',
            'created_at_helper' => '',
            'updated_at'        => 'Updated at',
            'updated_at_helper' => '',
            'deleted_at'        => 'Deleted at',
            'deleted_at_helper' => '',
        ],
    ],
    'priority'       => [
        'title'          => 'Priorities',
        'title_singular' => 'Priority',
        'fields'         => [
            'id'                => 'ID',
            'id_helper'         => '',
            'name'              => 'Name',
            'name_helper'       => '',
            'color'             => 'Color',
            'color_helper'      => '',
            'created_at'        => 'Created at',
            'created_at_helper' => '',
            'updated_at'        => 'Updated at',
            'updated_at_helper' => '',
            'deleted_at'        => 'Deleted at',
            'deleted_at_helper' => '',
        ],
    ],
    'category'       => [
        'title'          => 'Categories',
        'title_singular' => 'Category',
        'fields'         => [
            'id'                => 'ID',
            'id_helper'         => '',
            'name'              => 'Name',
            'name_helper'       => '',
            'color'             => 'Color',
            'color_helper'      => '',
            'created_at'        => 'Created at',
            'created_at_helper' => '',
            'updated_at'        => 'Updated at',
            'updated_at_helper' => '',
            'deleted_at'        => 'Deleted at',
            'deleted_at_helper' => '',
        ],
    ],
    'ticket'         => [
        'title'          => 'Tickets',
        'title_singular' => 'Ticket',
        'fields'         => [
            'id'                      => 'ID',
            'id_helper'               => '',
            'title'                   => 'Title',
            'title_helper'            => '',
            'content'                 => 'Content',
            'content_helper'          => '',
            'status'                  => 'Status',
            'status_helper'           => '',
            'priority'                => 'Priority',
            'priority_helper'         => '',
            'category'                => 'Category',
            'category_helper'         => '',
            'author_name'             => 'Author Name',
            'author_name_helper'      => '',
            'author_email'            => 'Author Email',
            'author_email_helper'     => '',
            'assigned_to_user'        => 'Assigned To User',
            'assigned_to_user_helper' => '',
            'comments'                => 'Comments',
            'comments_helper'         => '',
            'created_at'              => 'Created at',
            'created_at_helper'       => '',
            'updated_at'              => 'Updated at',
            'updated_at_helper'       => '',
            'deleted_at'              => 'Deleted at',
            'deleted_at_helper'       => '',
            'attachments'             => 'Attachments',
            'attachments_helper'      => '',
        ],
    ],
    'comment'        => [
        'title'          => 'Comments',
        'title_singular' => 'Comment',
        'fields'         => [
            'id'                  => 'ID',
            'id_helper'           => '',
            'ticket'              => 'Ticket',
            'ticket_helper'       => '',
            'author_name'         => 'Author Name',
            'author_name_helper'  => '',
            'author_email'        => 'Author Email',
            'author_email_helper' => '',
            'user'                => 'User',
            'user_helper'         => '',
            'comment_text'        => 'Comment Text',
            'comment_text_helper' => '',
            'created_at'          => 'Created at',
            'created_at_helper'   => '',
            'updated_at'          => 'Updated at',
            'updated_at_helper'   => '',
            'deleted_at'          => 'Deleted at',
            'deleted_at_helper'   => '',
        ],
    ],
    'auditLog'       => [
        'title'          => 'Audit Logs',
        'title_singular' => 'Audit Log',
        'fields'         => [
            'id'                  => 'ID',
            'id_helper'           => '',
            'description'         => 'Description',
            'description_helper'  => '',
            'subject_id'          => 'Subject ID',
            'subject_id_helper'   => '',
            'subject_type'        => 'Subject Type',
            'subject_type_helper' => '',
            'user_id'             => 'User ID',
            'user_id_helper'      => '',
            'properties'          => 'Properties',
            'properties_helper'   => '',
            'host'                => 'Host',
            'host_helper'         => '',
            'created_at'          => 'Created at',
            'created_at_helper'   => '',
            'updated_at'          => 'Updated at',
            'updated_at_helper'   => '',
        ],
    ],
];

C:\xampp82\htdocs\testnet\resources\views\tickets\create.blade.php

@extends('layouts.main')
@section('main')
<div class="card">
  <div class="card-header">
    {{ trans('global.create') }} {{ trans('cruds.ticket.title_singular') }}
  </div>
  <div class="card-body">
    <form action="{{ route("tickets.store") }}" method="POST" enctype="multipart/form-data">
      @csrf
      <div class="form-group {{ $errors->has('title') ? 'has-error' : '' }}">
        <label for="title">{{ trans('cruds.ticket.fields.title') }}*</label>
        <input type="text" id="title" name="title" class="form-control"
          value="{{ old('title', isset($ticket) ? $ticket->title : '') }}" required>
        @if($errors->has('title'))
        <em class="invalid-feedback">
          {{ $errors->first('title') }}
        </em>
        @endif
        <p class="helper-block">
          {{ trans('cruds.ticket.fields.title_helper') }}
        </p>
      </div>
      <div class="form-group {{ $errors->has('content') ? 'has-error' : '' }}">
        <label for="content">{{ trans('cruds.ticket.fields.content') }}</label>
        <textarea id="content" name="content"
          class="form-control ">{{ old('content', isset($ticket) ? $ticket->content : '') }}</textarea>
        @if($errors->has('content'))
        <em class="invalid-feedback">
          {{ $errors->first('content') }}
        </em>
        @endif
        <p class="helper-block">
          {{ trans('cruds.ticket.fields.content_helper') }}
        </p>
      </div>
      <div class="form-group {{ $errors->has('attachments') ? 'has-error' : '' }}">
        <label for="attachments">{{ trans('cruds.ticket.fields.attachments') }}</label>
        <div class="needsclick dropzone" id="attachments-dropzone">
        </div>
        @if($errors->has('attachments'))
        <em class="invalid-feedback">
          {{ $errors->first('attachments') }}
        </em>
        @endif
        <p class="helper-block">
          {{ trans('cruds.ticket.fields.attachments_helper') }}
        </p>
      </div>
      <div>
        <input class="btn btn-danger" type="submit" value="{{ trans('global.save') }}">
      </div>
    </form>
  </div>
</div>
@endsection

Tham khảo

6KB
lang.rar

Last updated