LuckySt
Mitglied
Hallo,
habe wieder mal ein kleines Problem mit PHP.
$validator->notStartsWith('robot', '<div class="alert alert-danger">Sorry, but we currently do not support Robots ...</div>')->validate('human-or-robot');
Hier möchte ich gerne "Sorry, but we currently do not support Robots ..." übersetzen lassen per POT Datei.
z.B. so:
$validator->notStartsWith('robot', '<div class="alert alert-danger">'._('Sorry, but we currently do not support Robots ...').'</div>')->validate('human-or-robot');
Nur wird mir so der Text nicht übersetzt.
Kann mir da jemand einen Tipp geben woran es vielleicht liegt?
Vielen lieben Dank
habe wieder mal ein kleines Problem mit PHP.
$validator->notStartsWith('robot', '<div class="alert alert-danger">Sorry, but we currently do not support Robots ...</div>')->validate('human-or-robot');
Hier möchte ich gerne "Sorry, but we currently do not support Robots ..." übersetzen lassen per POT Datei.
z.B. so:
$validator->notStartsWith('robot', '<div class="alert alert-danger">'._('Sorry, but we currently do not support Robots ...').'</div>')->validate('human-or-robot');
Nur wird mir so der Text nicht übersetzt.
Kann mir da jemand einen Tipp geben woran es vielleicht liegt?
Vielen lieben Dank