$visitor->acceptsLanguage() Checks if the user accepts the given language kirby/src/Http/Visitor.php#L118 $visitor->acceptsLanguage(string $code): bool Parameters Name Type Default $code * string – Return type bool Parent class Kirby\Http\Visitor