add supported language codes

This commit is contained in:
Carlosokumu 2024-09-20 14:39:52 +03:00
parent 250341a8bd
commit 33f8733106
Signed by: carlos
GPG Key ID: 7BD6BC8160A5C953

View File

@ -0,0 +1,11 @@
package utils
var isoCodes = map[string]bool{
"eng": true, // English
"swa": true, // Swahili
}
func IsValidISO639(code string) bool {
return isoCodes[code]
}