Skip to content

Instantly share code, notes, and snippets.

@toohard2explain
Created May 30, 2023 17:29
Show Gist options
  • Save toohard2explain/82bdd20f62cb3dfc64a1543cba29e82a to your computer and use it in GitHub Desktop.
Save toohard2explain/82bdd20f62cb3dfc64a1543cba29e82a to your computer and use it in GitHub Desktop.
Laravel 10.x German Langauge Files
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages that we need to display to the user. You are free to modify
| these language lines according to your application's requirements.
|
*/
'failed' => 'Die angegebenen Anmeldedaten sind ungültig.',
'password' => 'Das angegebene Passwort ist falsch.',
'throttle' => 'Zu viele Anmeldeversuche. Bitte versuchen Sie es in :seconds Sekunden erneut.',
];
<?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pagination links. You are free to change them to anything
| you want to customize your views to better match your application.
|
*/
'previous' => '&laquo; Zurück',
'next' => 'Nächste &raquo;',
];
<?php
return [
/*
|--------------------------------------------------------------------------
| Password Reset Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are given by the password broker for a password update attempt
| has failed, such as for an invalid token or invalid new password.
|
*/
'reset' => 'Ihr Passwort wurde zurückgesetzt.',
'sent' => 'Wir haben Ihnen einen Link zum Zurücksetzen Ihres Passworts per E-Mail gesendet.',
'throttled' => 'Bitte warten Sie, bevor Sie es erneut versuchen.',
'token' => 'Dieses Token zum Zurücksetzen des Passworts ist ungültig.',
'user' => "Wir können keinen Benutzer mit dieser E-Mail-Adresse finden.",
];
<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| as the size rules. Feel free to tweak each of these messages here.
|
*/
'accepted' => ':attribute muss akzeptiert werden.',
'accepted_if' => ':attribute muss akzeptiert werden, wenn :other :value ist.',
'active_url' => ':attribute ist keine gültige Internet-Adresse.',
'after' => ':attribute muss ein Datum nach dem :date sein.',
'after_or_equal' => ':attribute muss ein Datum nach dem :date oder gleich dem :date sein.',
'alpha' => ':attribute darf nur aus Buchstaben bestehen.',
'alpha_dash' => ':attribute darf nur aus Buchstaben, Zahlen, Binde- und Unterstrichen bestehen.',
'alpha_num' => ':attribute darf nur aus Buchstaben und Zahlen bestehen.',
'array' => ':attribute muss ein Array sein.',
'ascii' => ':attribute darf nur aus ASCII-Zeichen bestehen.',
'before' => ':attribute muss ein Datum vor dem :date sein.',
'before_or_equal' => ':attribute muss ein Datum vor dem :date oder gleich dem :date sein.',
'between' => [
'array' => ':attribute muss zwischen :min & :max Elemente haben.',
'file' => ':attribute muss zwischen :min & :max Kilobytes groß sein.',
'numeric' => ':attribute muss zwischen :min & :max liegen.',
'string' => ':attribute muss zwischen :min & :max Zeichen lang sein.',
],
'boolean' => ':attribute muss entweder \'true\' oder \'false\' sein.',
'confirmed' => ':attribute stimmt nicht mit der Bestätigung überein.',
'current_password' => 'Das Passwort ist falsch.',
'date' => ':attribute muss ein gültiges Datum sein.',
'date_equals' => ':attribute muss ein Datum gleich :date sein.',
'date_format' => ':attribute entspricht nicht dem gültigen Format für :format.',
'decimal' => ':attribute muss eine Dezimalzahl sein.',
'declined' => ':attribute muss abgelehnt werden.',
'declined_if' => ':attribute muss abgelehnt werden, wenn :other :value ist.',
'different' => ':attribute und :other müssen sich unterscheiden.',
'digits' => ':attribute muss :digits Stellen haben.',
'digits_between' => ':attribute muss zwischen :min und :max Stellen haben.',
'dimensions' => ':attribute hat ungültige Bildabmessungen.',
'distinct' => ':attribute enthält einen bereits vorhandenen Wert.',
'doesnt_end_with' => ':attribute darf nicht mit einem der folgenden Werte enden: :values.',
'doesnt_start_with' => ':attribute darf nicht mit einem der folgenden Werte beginnen: :values.',
'email' => ':attribute muss eine gültige E-Mail-Adresse sein.',
'ends_with' => ':attribute muss mit einem der folgenden Werte enden: :values.',
'enum' => ':attribute muss einer der folgenden Werte sein: :values.',
'exists' => ':attribute ist ungültig.',
'file' => ':attribute muss eine Datei sein.',
'filled' => ':attribute muss ausgefüllt sein.',
'gt' => [
'array' => ':attribute muss mehr als :value Elemente haben.',
'file' => ':attribute muss größer als :value Kilobytes sein.',
'numeric' => ':attribute muss größer als :value sein.',
'string' => ':attribute muss mehr als :value Zeichen haben.',
],
'gte' => [
'array' => ':attribute muss mindestens :value Elemente haben.',
'file' => ':attribute muss mindestens :value Kilobytes groß sein.',
'numeric' => ':attribute muss mindestens :value sein.',
'string' => ':attribute muss mindestens :value Zeichen lang sein.',
],
'image' => ':attribute muss ein Bild sein.',
'in' => ':attribute ist ungültig.',
'in_array' => ':attribute ist in :other nicht vorhanden.',
'integer' => ':attribute muss eine ganze Zahl sein.',
'ip' => ':attribute muss eine gültige IP-Adresse sein.',
'ipv4' => ':attribute muss eine gültige IPv4-Adresse sein.',
'ipv6' => ':attribute muss eine gültige IPv6-Adresse sein.',
'json' => ':attribute muss ein gültiger JSON-String sein.',
'lowercase' => ':attribute darf nur aus Kleinbuchstaben bestehen.',
'lt' => [
'array' => ':attribute muss weniger als :value Elemente haben.',
'file' => ':attribute muss kleiner als :value Kilobytes sein.',
'numeric' => ':attribute muss kleiner als :value sein.',
'string' => ':attribute muss weniger als :value Zeichen haben.',
],
'lte' => [
'array' => ':attribute darf maximal :value Elemente haben.',
'file' => ':attribute muss kleiner als :value Kilobytes sein.',
'numeric' => ':attribute muss kleiner oder gleich :value sein.',
'string' => ':attribute darf maximal :value Zeichen haben.',
],
'mac_address' => ':attribute muss eine gültige MAC-Adresse sein.',
'max' => [
'array' => ':attribute darf maximal aus :max Elementen bestehen.',
'file' => ':attribute darf maximal :max Kilobytes groß sein.',
'numeric' => ':attribute darf maximal :max sein.',
'string' => ':attribute darf maximal :max Zeichen haben.',
],
'max_digits' => ':attribute darf maximal :max Stellen haben.',
'mimes' => ':attribute muss den Dateityp :values haben.',
'mimetypes' => ':attribute muss den Dateityp :values haben.',
'min' => [
'array' => ':attribute muss mindestens aus :min Elementen bestehen.',
'file' => ':attribute muss mindestens :min Kilobytes groß sein',
'numeric' => ':attribute muss mindestens :min sein.',
'string' => ':attribute muss mindestens :min Zeichen haben.',
],
'min_digits' => ':attribute muss mindestens :min Stellen haben.',
'missing' => ':attribute muss vorhanden sein.',
'missing_if' => ':attribute muss vorhanden sein, wenn :other :value ist.',
'missing_unless' => ':attribute muss vorhanden sein, wenn :other nicht :values ist.',
'missing_with' => ':attribute muss vorhanden sein, wenn :values vorhanden ist.',
'missing_with_all' => ':attribute muss vorhanden sein, wenn :values vorhanden ist.',
'multiple_of' => ':attribute muss ein Vielfaches von :value sein.',
'not_in' => ':attribute ist ungültig.',
'not_regex' => ':attribute hat ein ungültiges Format.',
'numeric' => ':attribute muss eine Zahl sein.',
'password' => [
'letters' => ':attribute muss mindestens einen Buchstaben enthalten.',
'mixed' => ':attribute muss Buchstaben und Zahlen enthalten.',
'numbers' => ':attribute muss mindestens eine Zahl enthalten.',
'symbols' => ':attribute muss mindestens ein Sonderzeichen enthalten.',
'uncompromised' => ':attribute wurde in einer Datenbank mit :breaches Kompromittierungen gefunden.',
],
'present' => ':attribute muss vorhanden sein.',
'prohibited' => ':attribute ist nicht erlaubt.',
'prohibited_if' => ':attribute ist nicht erlaubt, wenn :other :value ist.',
'prohibited_unless' => ':attribute ist nicht erlaubt, wenn :other nicht :values ist.',
'prohibits' => ':attribute verbietet :other.',
'regex' => ':attribute hat ein ungültiges Format.',
'required' => ':attribute muss ausgefüllt sein.',
'required_array_keys' => ':attribute muss alle folgenden Schlüssel enthalten: :keys.',
'required_if' => ':attribute muss ausgefüllt sein, wenn :other :value ist.',
'required_if_accepted' => ':attribute muss ausgefüllt sein, wenn :other akzeptiert wurde.',
'required_unless' => ':attribute muss ausgefüllt sein, wenn :other nicht :values ist.',
'required_with' => ':attribute muss ausgefüllt sein, wenn :values vorhanden ist.',
'required_with_all' => ':attribute muss ausgefüllt sein, wenn :values vorhanden ist.',
'required_without' => ':attribute muss ausgefüllt sein, wenn :values nicht vorhanden ist.',
'required_without_all' => ':attribute muss ausgefüllt sein, wenn keines der Felder :values vorhanden ist.',
'same' => ':attribute und :other müssen übereinstimmen.',
'size' => [
'array' => ':attribute muss genau :size Elemente haben.',
'file' => ':attribute muss genau :size Kilobytes groß sein.',
'numeric' => ':attribute muss genau :size sein.',
'string' => ':attribute muss genau :size Zeichen haben.',
],
'starts_with' => ':attribute muss mit einem der folgenden Anfänge aufweisen: :values.',
'string' => ':attribute muss ein String sein.',
'timezone' => ':attribute muss eine gültige Zeitzone sein.',
'unique' => ':attribute ist bereits vergeben.',
'uploaded' => ':attribute konnte nicht hochgeladen werden.',
'uppercase' => ':attribute darf nur aus Großbuchstaben bestehen.',
'url' => ':attribute muss eine URL sein.',
'ulid' => ':attribute muss eine gültige ULID sein.',
'uuid' => ':attribute muss eine gültige UUID sein.',
/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
|--------------------------------------------------------------------------
|
| Here you may specify custom validation messages for attributes using the
| convention "attribute.rule" to name the lines. This makes it quick to
| specify a specific custom language line for a given attribute rule.
|
*/
'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
],
],
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap our attribute placeholder
| with something more reader friendly such as "E-Mail Address" instead
| of "email". This simply helps us make our message more expressive.
|
*/
'attributes' => [],
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment