Database Connection

A string that determines the database connectionopen in new window used for I18n models, migrations etc.

.envconfig keydefault value
I18N_DB_CONNECTIONi18n.database.connection"mysql"

Language Table Name

A string that determines the table name used to store language records.

.envconfig keydefault value
I18N_DB_LANGUAGE_TABLEi18n.database.tables.languages"languages"

Language Model

A string that determines the class name used for the language model.

.envconfig keydefault value
-i18n.database.models.language\Sirthxalot\Laravel\I18n\Models\Language::class

Translation Table Name

A string that determines the table name used to store translation records.

.envconfig keydefault value
I18N_DB_TRANSLATION_TABLEi18n.database.tables.translations"translations"

Translation Model

A string that determines the class name used for the translation model.

.envconfig keydefault value
-i18n.database.models.translation\Sirthxalot\Laravel\I18n\Models\Translations::class

I18n Driver

A string that determines the driver used for the I18n service.

Supported Drivers: "file" or "database"

.envconfig keydefault value
I18N_DRIVERi18n.driver"database"

Locale Session Key

A string that determines the session key that could be used in order to load the locale for a user.

.envconfig keydefault value
-i18n.locale_sk"i18n_locale"

Translation Scan Paths

An array that lists each directory path were the I18n service should scan for missing translations.

.envconfig keydefault value
-i18n.scan_paths[app_path(), base_path('routes'), resource_path()]

Translation Methods

An array that lists each translation method used within the I18n service to scan for missing translations.

.envconfig keydefault value
-i18n.translation_methods['__', 'trans_choice']

Language Add Form Request

A form requestopen in new window class that determines the validation used to validate data before adding a language.

.envconfig keydefault value
-i18n.validation.language.addSirthxalot\Laravel\I18n\Http\Requests\AddLanguageRequest::class

Translation Add Form Request

A form requestopen in new window class that determines the validation used to validate data before adding a translation.

.envconfig keydefault value
-i18n.validation.translation.addSirthxalot\Laravel\I18n\Http\Requests\AddTranslationRequest::class

Translation Update Form Request

A form requestopen in new window class that determines the validation used to validate data before updating a translation.

.envconfig keydefault value
-i18n.validation.translation.updateSirthxalot\Laravel\I18n\Http\Requests\UpdateTranslationRequest::class
Last Updated:
Contributors: sirthxalot