'kz' locale trouble
diverdm opened this issue · comments
diverdm commented
When I use "kz.php" locale file (i.e. f3->set('LANGUAGE', 'kz' )), I get error "Undefined constant ISO::LC_kz". It is inside "Work around PHP's Turkish locale bug" block in f3's "base.php", line 1136.
If I delete this block, it is OK, but should I ?
Florent commented
This error is expected because there's no kz
ISO 639-1 code.
See https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
If you're trying to set the kazakh locale, the right code is kk
.