Skip to content

Commit d5adeff

Browse files
committed
feat: Add parameter for locale comparison
1 parent 4764fe3 commit d5adeff

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/Config/Feature.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,10 @@ class Feature extends BaseConfig
2626
* If false, `limit(0)` returns no records. (the behavior of 3.1.9 or later in version 3.x.)
2727
*/
2828
public bool $limitZeroAsAll = true;
29+
30+
/**
31+
* Use an strict localization comparison (with territory en-*) instead of an abbreviated value
32+
* Previously, the territory was cut off (en-* as en) before localization comparing
33+
*/
34+
public bool $simpleNegotiateLocale = true;
2935
}

0 commit comments

Comments
 (0)