Skip to content

Commit b7e0179

Browse files
authored
ENGCOM-9213: Extend locales validation - include (3 chars) language codes as valid. #34000
2 parents 69a4880 + 837dc16 commit b7e0179

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/App/Language/package.xsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
<xs:simpleType name="codeType">
3131
<xs:restriction base="xs:string">
32-
<xs:pattern value="[a-z]{2}_([a-zA-Z]{4}_)?[A-Z]{2}"/>
32+
<xs:pattern value="[a-z]{2,3}_([a-zA-Z]{4}_)?[A-Z]{2}"/>
3333
</xs:restriction>
3434
</xs:simpleType>
3535

0 commit comments

Comments
 (0)