diff --git a/src/Support/Translator.php b/src/Support/Translator.php index 1899c21..0a5da6e 100644 --- a/src/Support/Translator.php +++ b/src/Support/Translator.php @@ -50,6 +50,10 @@ private function checkMissingTranslation($key, $line, $locale = null) if ($line && $line !== $key) { return; } + // do not check $key tarting with validation.custom + if (strpos($key, 'validation.custom') === 0) { + return; + } $message = $locale ? "Missing or empty translation for locale '{$locale}': {$key}" : "Missing or empty translation: {$key}";