Laravel Passwortänderung Übersetzung
October 1, 2024 · AI Conversations
$content_id = '12';
$getMetaDetails = getMetaDetails($content_id);
@endphp
@extends('coach/layouts/app')
@section('title', $title)
@section('content')
@include('coach/auth/common')
{{– –}}
{{ __('Change Password') }}
@csrf
@if (session()->has('message.level'))
{!! session('message.content') !!}
@endif
{{ __('New Password') }}
{{ __('Repeat New Password') }}
{{ __('Save') }}
{{ __('Company information') }}
@if (session()->has('message.level2'))
{!! session('message.content') !!}
@endif
@csrf
@method('patch')
@php
$loginCoach = Auth::guard('coach')->user();
@endphp
{{ __('Company Name') }} *
{{ __('Please, enter company name') }} *!
{{ __('Salutation') }} *
{{ __('Please enter a salutation!') }}
{{ __('First Name') }} *
{{ __('Please enter a first name') }}.
{{ __('Last Name') }} *
{{ __('Please enter a last name') }}.
{{ __('Address 1') }} *
{{ __('Please enter a Address 1') }}
{{ __('Address') }} 2
{{ __('Please enter a Address 2') }}
{{ __('City') }} *
{{ __('Please enter a city') }}
{{ __('Zip Code') }} *
{{ __('Please enter a zip code') }}
{{ __('Country') }} *
Select
@foreach ($countries as $country)
country_id ?? '') == $country->id ? 'selected=selected' : '' }}>
{{ $country->name }}
@endforeach
{{ __('Please select a country!') }}
{{ __('Phone Number') }}
{{ __('Please enter a phone number') }}
{{ __('Email Address') }} *
{{ __('Please enter a valid Email adddress!') }}
{{ __('VAT') }}
{{ __('Please enter a valid VAT number!') }}
{{ __('Save changes') }}
@endsection
extract laravel lagnage strings and add german translation in json format
{
"Change Password": "Passwort ändern",
"New Password": "Neues Passwort",
"Repeat New Password": "Neues Passwort wiederholen",
"Save": "Speichern",
"Company information": "Firmeninformationen",
"Company Name": "Firmenname",
"Please, enter company name": "Bitte geben Sie den Firmennamen ein",
"Salutation": "Anrede",
"Please enter a salutation!": "Bitte geben Sie eine Anrede ein!",
"First Name": "Vorname",
"Please enter a first name": "Bitte geben Sie einen Vornamen ein",
"Last Name": "Nachname",
"Please enter a last name": "Bitte geben Sie einen Nachnamen ein",
"Address 1": "Adresse 1",
"Please enter Address 1": "Bitte geben Sie Adresse 1 ein",
"Address 2": "Adresse 2",
"Please enter Address 2": "Bitte geben Sie Adresse 2 ein",
"City": "Stadt",
"Please enter a city": "Bitte geben Sie eine Stadt ein",
"Zip Code": "Postleitzahl",
"Please enter a zip code": "Bitte geben Sie eine Postleitzahl ein",
"Country": "Land",
"Please select a country!": "Bitte wählen Sie ein Land aus!",
"Phone Number": "Telefonnummer",
"Please enter a phone number": "Bitte geben Sie eine Telefonnummer ein",
"Email Address": "E-Mail-Adresse",
"Please enter a valid Email address!": "Bitte geben Sie eine gültige E-Mail-Adresse ein!",
"VAT": "USt-IdNr.",
"Please enter a valid VAT number!": "Bitte geben Sie eine gültige USt-IdNr. ein!",
"Save changes": "Änderungen speichern"
}
This JSON structure provides German translations for all the relevant strings in the Laravel Blade template. You can add this JSON to your language file (for example, `resources/lang/de.json`), and use Laravel's `__()` helper to translate the strings in your Blade template.
@if (session()->has('message.level'))
{!! session('message.content') !!}
@endif
@csrf
@if(isset($corporateDesign))
@method('POST')
@endif
{{ __('Cover page logo') }}
max format: a x b max size: x mb
@if (!empty($corporateDesign->logo))
@endif
{{ __('Logo') }}
max format: a x b max size: x mb
@if (!empty($corporateDesign->logo2))
@endif
{{ __('Primary color') }}
{{ __('Secondary color') }}
{{ __('Font') }}
font_name) == "'Arial', sans-serif" ? 'selected' : '' }}>Arial
font_name) == "'Verdana', sans-serif" ? 'selected' : '' }}>Verdana
font_name) == "'Times New Roman', serif" ? 'selected' : '' }}>Times New Roman
font_name) == "'Courier New', monospace" ? 'selected' : '' }}>Courier New
font_name) == "'Georgia', serif" ? 'selected' : '' }}>Georgia
Cancel
Save
add language string as laravel and translate in german in json
{
"Corporate Design": "Corporate Design",
"Cover page logo": "Logo auf der Titelseite",
"max format: a x b": "max Format: a x b",
"max size: x mb": "max Größe: x MB",
"Logo": "Logo",
"Primary color": "Primärfarbe",
"Secondary color": "Sekundärfarbe",
"Font": "Schriftart",
"Arial": "Arial",
"Verdana": "Verdana",
"Times New Roman": "Times New Roman",
"Courier New": "Courier New",
"Georgia": "Georgia",
"Cancel": "Abbrechen",
"Save": "Speichern"
}
You can use this JSON in your `resources/lang/de.json` file for the German translations. Additionally, in your Blade template, replace the hardcoded text strings with the `__()` function to load the translations dynamically, like so:
<h5 class="card-title">{{ __('Corporate Design') }}</h5>
<label for="logo" class="col-sm-2 col-form-label">{{ __('Cover page logo') }}</label>
<small class="form-text text-muted">{{ __('max format: a x b') }}</small>
<small class="form-text text-muted">{{ __('max size: x mb') }}</small>
<label for="primaryColor" class="col-sm-2 col-form-label">{{ __('Primary color') }}</label>
<label for="secondaryColor" class="col-sm-2 col-form-label">{{ __('Secondary color') }}</label>
<label for="font" class="col-sm-2 col-form-label">{{ __('Font') }}</label>
<option value="'Arial', sans-serif">{{ __('Arial') }}</option>
<option value="'Verdana', sans-serif">{{ __('Verdana') }}</option>
<option value="'Times New Roman', serif">{{ __('Times New Roman') }}</option>
<option value="'Courier New', monospace">{{ __('Courier New') }}</option>
<option value="'Georgia', serif">{{ __('Georgia') }}</option>
<button type="button" class="btn btn-secondary edit-btn cc-btn">{{ __('Cancel') }}</button>
<button type="submit" id="corporateDesign" class="btn btn-primary edit-btn cs-btn">{{ __('Save') }}</button>
This will allow Laravel to load the German translations for the specified text in your views.
Filter by Year
Filter by Client
Filter by Project
Bulk Action
Apply
covnert above in german json
{
"HR / Coach – My Account – Invoices": "HR / Coach – Mein Konto – Rechnungen",
"Filter by Year": "Nach Jahr filtern",
"Filter by Client": "Nach Kunde filtern",
"Filter by Project": "Nach Projekt filtern",
"Bulk Action": "Massenaktion",
"Apply": "Anwenden"
}
You can add this JSON to your `resources/lang/de.json` file for German translations and use the `__()` helper function to integrate these translations into your Laravel Blade views.
"Order ID":"",
"Total in":"
{
"Date": "Datum",
"Order ID": "Bestellnummer",
"Total in": "Gesamt in"
}
You can add this to your `resources/lang/de.json` file and use the `__()` helper function to display the translated text in your views.
{
"All rights reserved": "Alle Rechte vorbehalten."
}
You can add this to your `resources/lang/de.json` file and use the `__()` helper function to translate it in your Laravel Blade views.
{
"Download Report Zip": "Bericht Zip herunterladen"
}
You can add this to your `resources/lang/de.json` file and use the `__()` helper function to display the translation in your views.
"Participant ID": "",
"Position":"",
"Language":"",
"Responders / Reviewed completed":""
{
"All": "Alle",
"Participant ID": "Teilnehmer-ID",
"Position": "Position",
"Language": "Sprache",
"Responders / Reviewed completed": "Antwortgeber / Überprüft abgeschlossen"
}
You can add this to your `resources/lang/de.json` file and use the `__()` helper function in your Laravel Blade views to display these translations.