Skip to content

Commit

Permalink
Merge pull request #3 from g-vvv/patch-1
Browse files Browse the repository at this point in the history
Applying the BLT for the "bg" language code
  • Loading branch information
alexsergivan committed Sep 14, 2022
2 parents 70eb313 + f586561 commit ea2215d
Showing 1 changed file with 44 additions and 8 deletions.
52 changes: 44 additions & 8 deletions languages/bg.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,60 @@ package languages

// BG - Bulgarian transliteration data.
var BG = map[rune]string{
0x416: "ZH",
0x416: "Zh",
0x436: "zh",
0x419: "Y",
0x439: "y",
0x426: "TS",
0x426: "Ts",
0x446: "ts",
0x427: "CH",
0x427: "Ch",
0x447: "ch",
0x428: "SH",
0x428: "Ss",
0x448: "sh",
0x429: "SHT",
0x429: "Sht",
0x449: "sht",
0x42A: "A",
0x44A: "a",
0x425: "H",
0x445: "h",
0x42C: "Y",
0x44C: "y",
0x42E: "YU",
0x42E: "Yu",
0x44E: "yu",
0x42F: "ya",
0x44F: "Ya",
0x42F: "Ya",
0x44F: "ya",
}

/*
Quotation from the Bulgarian Law of Transliteration (BLT):
А, а A, a
Б, б B, b
В, в V, v
Г, г G, g
Д, д D, d
Е, е E, e
Ж, ж Zh, zh
З, з Z, z
И, и I, i
Й, й Y, y
К, к K, k
Л, л L, l
М, м M, m
Н, н N, n
О, о O, o
П, п P, p
Р, р R, r
С, с S, s
Т, т T, t
У, у U, u
Ф, ф F, f
Х, х H, h
Ц, ц Ts, ts
Ч, ч Ch, ch
Ш, ш Sh, sh
Щ, щ Sht, sht
Ъ, ъ A, a
Ь, ь Y, y
Ю, ю Yu, yu
Я, я Ya, ya
*/

0 comments on commit ea2215d

Please # to comment.