Index: source/data/translit/sr_sr_Latn_BGN.txt |
diff --git a/source/data/translit/Serbian_Latin_BGN.txt b/source/data/translit/sr_sr_Latn_BGN.txt |
similarity index 67% |
rename from source/data/translit/Serbian_Latin_BGN.txt |
rename to source/data/translit/sr_sr_Latn_BGN.txt |
index 29d3ab34d1371597663d0dddb69000e5f4fa357d..6389f8564b7788c48d274ba879f43518dc4d1756 100644 |
--- a/source/data/translit/Serbian_Latin_BGN.txt |
+++ b/source/data/translit/sr_sr_Latn_BGN.txt |
@@ -1,14 +1,38 @@ |
-# *************************************************************************** |
-# * |
-# * Copyright (C) 2004-2015, International Business Machines |
-# * Corporation; Unicode, Inc.; and others. All Rights Reserved. |
-# * |
-# *************************************************************************** |
-# File: Serbian_Latin_BGN.txt |
-# Generated from CLDR |
+# © 2016 and later: Unicode, Inc. and others. |
+# License & terms of use: http://www.unicode.org/copyright.html#License |
+# |
+# File: sr_sr_Latn_BGN.txt |
+# Generated from CLDR |
+# |
+ |
+# |
+######################################################################## |
+# BGN/PCGN Agreemente |
+# |
+# Serbian is transliterated as Croatian. |
+# |
+# The Serbian Alphabet as defined by the BGN (Page 95): |
+# |
+# АБВГДЂЕЖЗИЈКЛЉМНЊОПРСТЋУФХЦЧЏШ |
+# абвгдђежзијклљмнњопрстћуфхцчџш |
+# |
+# Originally prepared by Michael Everson <everson@evertype.com> |
+######################################################################## |
+# |
+# MINIMAL FILTER: Serbian-Latin |
# |
:: [АБВГДЂЕЖЗИЈКЛЉМНЊОПРСТЋУФХЦЧЏШабвгдђежзијклљмнњопрстћуфхцчџш] ; |
:: NFD (NFC) ; |
+# |
+# |
+######################################################################## |
+# |
+######################################################################## |
+# |
+# Define All Transformation Variables |
+# |
+######################################################################## |
+# |
$upperConsonants = [БВГДЂЖЗЈКЛЉМНЊПРСТЋФХЦЧЏШ] ; |
$lowerConsonants = [бвгдђжзјклљмнњпрстћфхцчџш] ; |
$consonants = [$upperConsonants $lowerConsonants] ; |
@@ -16,7 +40,22 @@ $upperVowels = [АЕИОУ] ; |
$lowerVowels = [аеиоу] ; |
$vowels = [$upperVowels $lowerVowels] ; |
$lower = [$lowerConsonants $lowerVowels] ; |
+# |
+# |
+# Use this $wordBoundary until bug 2034 is fixed in ICU: |
+# http://bugs.icu-project.org/cgi-bin/icu-bugs/transliterate?id=2034;expression=boundary;user=guest |
+# |
$wordBoundary = [^[:L:][:M:][:N:]] ; |
+# |
+# |
+######################################################################## |
+# |
+######################################################################## |
+# |
+# Start of Alphabetic Transformations |
+# |
+######################################################################## |
+# |
А → A ; # CYRILLIC CAPITAL LETTER A |
а → a ; # CYRILLIC SMALL LETTER A |
Б → B ; # CYRILLIC CAPITAL LETTER BE |
@@ -80,3 +119,7 @@ $wordBoundary = [^[:L:][:M:][:N:]] ; |
џ → dž ; # CYRILLIC SMALL LETTER SHA |
Ш → Š ; # CYRILLIC CAPITAL LETTER SHA |
ш → š ; # CYRILLIC SMALL LETTER SHA |
+# |
+# |
+######################################################################## |
+ |