<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE translit SYSTEM "translit.dtd">
<!--
Transliteration definitions for DIN 1460 (Bulgarian).
Copyright (C) 2008 Rona Linke <rlinke@lingua-systems.com>
Copyright (C) 2009 Lingua-Systems Software GmbH
-->
<translit>
<!-- meta information -->
<name>DIN 1460 BUL</name>
<desc>DIN 1460:1982, Cyrillic to Latin, Bulgarian</desc>
<reverse>true</reverse>
<!-- set of transliteration rules -->
<!-- Hexnotation of Unicode codepoints, letter names according
to Unicode Standard 5.0
Abbreviations:
CCL = CYRILLIC CAPITAL LETTER
CSL = CYRILLIC SMALL LETTER
LCL = LATIN CAPITAL LETTER
LSL = LATIN SMALL LETTER
-->
<rules>
<!--rules with more than one character in the resulting transliteration-->
<rule>
<from>Щ</from> <!-- CCL SHCHA -->
<to>ŠT</to>
<!-- LCL S WITH CARON LCL T -->
<context> <!-- for ALLCAPS -->
<before>[\p{IsUpper}\p{IsSpace}]</before>
<after>[\p{IsUpper}\p{IsSpace}]</after>
</context>
</rule>
<rule>
<from>Щ</from> <!-- CCL SHCHA -->
<to>Št</to>
<!-- LCL S WITH CARON LSL T -->
</rule>
<rule>
<from>щ</from> <!-- CSL SHCHA -->
<to>št</to>
<!-- LSL S WITH CARON LSL T -->
</rule>
<rule>
<from>Ю</from> <!-- CCL YU -->
<to>JU</to> <!-- LCL J LCL U -->
<context> <!-- for ALLCAPS -->
<before>[\p{IsUpper}\p{IsSpace}]</before>
<after>[\p{IsUpper}\p{IsSpace}]</after>
</context>
</rule>
<rule>
<from>Ю</from> <!-- CCL YU -->
<to>Ju</to> <!-- LCL J LSL U -->
</rule>
<rule>
<from>ю</from> <!-- CSL YU -->
<to>ju</to> <!-- LSL J LSL U -->
</rule>
<rule>
<from>Я</from> <!-- CCL YA -->
<to>JA</to> <!-- LCL J LCL A -->
<context> <!-- for ALLCAPS -->
<before>[\p{IsUpper}\p{IsSpace}]</before>
<after>[\p{IsUpper}\p{IsSpace}]</after>
</context>
</rule>
<rule>
<from>Я</from> <!-- CCL YA -->
<to>Ja</to> <!-- LCL J LSL A -->
</rule>
<rule>
<from>я</from> <!-- CSL YA -->
<to>ja</to> <!-- LSL J LSL A -->
</rule>
<rule>
<from>Х</from> <!-- CCL HA -->
<to>CH</to> <!-- LCL C LCL H -->
<context> <!-- for ALLCAPS -->
<before>[\p{IsUpper}\p{IsSpace}]</before>
<after>[\p{IsUpper}\p{IsSpace}]</after>
</context>
</rule>
<rule>
<from>Х</from> <!-- CCL HA -->
<to>Ch</to> <!-- LCL C LSL H -->
</rule>
<rule>
<from>х</from> <!-- CSL HA -->
<to>ch</to> <!-- LSL C LSL H -->
</rule>
<!--to keep the transliteration reversible, single characters,
that appear with a second charater, where the combination
is used otherwise as well - the single characters are seperated
with a hyphen. (j-a vs. ja) -->
<rule>
<from>Й</from> <!-- CCL SHORT I -->
<to>J-</to> <!-- LCL J with hyphen -->
<context>
<before>[auAUауАУ]</before>
<!--latin and cyrillic characters for reversibility-->
</context>
</rule>
<rule>
<from>й</from> <!-- CSL SHORT I -->
<to>j-</to> <!-- LSL J WITH HYPHEN-->
<context>
<before>[auау]</before>
</context>
</rule>
<rule>
<from>Ш</from> <!-- CCL SHA -->
<to>Š-</to> <!--LCL S WITH CARON AND HYPHEN-->
<context>
<before>[tTтТ]</before>
</context>
</rule>
<rule>
<from>ш</from> <!-- CSL SHA -->
<to>š-</to> <!--LSL S WITH CARON AND HYPHEN-->
<context>
<before>[tт]</before>
</context>
</rule>
<!-- rest of the alphabet... -->
<rule>
<from>А</from> <!-- CCL A -->
<to>A</to> <!-- LCL A -->
</rule>
<rule>
<from>а</from> <!-- CSL A -->
<to>a</to> <!-- LSL A -->
</rule>
<rule>
<from>Б</from> <!-- CCL BE -->
<to>B</to> <!-- LCL B -->
</rule>
<rule>
<from>б</from> <!--CSL BE -->
<to>b</to> <!--LSL B -->
</rule>
<rule>
<from>В</from> <!--CCL VE -->
<to>V</to> <!--LCL V -->
</rule>
<rule>
<from>в</from> <!--CSL VE -->
<to>v</to> <!--LSL V -->
</rule>
<rule>
<from>Г</from> <!--CCL GHE -->
<to>G</to> <!--LCL G -->
</rule>
<rule>
<from>г</from> <!--CSL GHE -->
<to>g</to> <!--LSL G -->
</rule>
<rule>
<from>Д</from> <!-- CCL DE -->
<to>D</to> <!-- LCL D -->
</rule>
<rule>
<from>д</from> <!-- CSL DE -->
<to>d</to> <!-- LSL D -->
</rule>
<rule>
<from>Е</from> <!-- CCL IE -->
<to>E</to> <!-- LCL E -->
</rule>
<rule>
<from>е</from> <!-- CSL IE -->
<to>e</to> <!-- LSL E -->
</rule>
<rule>
<from>Ж</from> <!-- CCL ZHE -->
<to>Ž</to> <!-- LCL Z WITH CARON -->
</rule>
<rule>
<from>ж</from> <!-- CSL ZHE -->
<to>ž</to> <!-- LSL Z WITH CARON -->
</rule>
<rule>
<from>З</from> <!-- CCL ZE -->
<to>Z</to> <!-- LCL Z -->
</rule>
<rule>
<from>з</from> <!-- CSL ZE -->
<to>z</to> <!-- LSL Z -->
</rule>
<rule>
<from>И</from> <!-- CCL I -->
<to>I</to> <!-- LCL I -->
</rule>
<rule>
<from>и</from> <!-- CSL I -->
<to>i</to> <!-- LSL I -->
</rule>
<rule>
<from>Й</from> <!-- CCL SHORT I -->
<to>J</to> <!-- LCL J -->
</rule>
<rule>
<from>й</from> <!-- CSL SHORT I -->
<to>j</to> <!-- LSL J -->
</rule>
<rule>
<from>К</from> <!-- CCL KA -->
<to>K</to> <!-- LCL K -->
</rule>
<rule>
<from>к</from> <!-- CSL KA -->
<to>k</to> <!-- LSL K -->
</rule>
<rule>
<from>Л</from> <!-- CCL EL -->
<to>L</to> <!-- LCL L -->
</rule>
<rule>
<from>л</from> <!-- CSL EL -->
<to>l</to> <!-- LSL L -->
</rule>
<rule>
<from>М</from> <!-- CCL EM -->
<to>M</to> <!-- LCL M -->
</rule>
<rule>
<from>м</from> <!-- CSL EM -->
<to>m</to> <!-- LSL M -->
</rule>
<rule>
<from>Н</from> <!-- CCL EN -->
<to>N</to> <!-- LCL N -->
</rule>
<rule>
<from>н</from> <!-- CSL EN -->
<to>n</to> <!-- LSL N -->
</rule>
<rule>
<from>О</from> <!-- CCL O -->
<to>O</to> <!-- LCL O -->
</rule>
<rule>
<from>о</from> <!-- CSL O -->
<to>o</to> <!-- LSL O -->
</rule>
<rule>
<from>П</from> <!-- CCL PE -->
<to>P</to> <!-- LCL P -->
</rule>
<rule>
<from>п</from> <!-- CSL PE -->
<to>p</to> <!-- LSL P -->
</rule>
<rule>
<from>Р</from> <!-- CCL ER -->
<to>R</to> <!-- LCL R -->
</rule>
<rule>
<from>р</from> <!-- CSL ER -->
<to>r</to> <!-- LCL R -->
</rule>
<rule>
<from>Т</from> <!-- CCL TE -->
<to>T</to> <!-- LCL T -->
</rule>
<rule>
<from>т</from> <!-- CSL TE -->
<to>t</to> <!-- LSL T -->
</rule>
<rule>
<from>У</from> <!-- CCL U -->
<to>U</to> <!-- LCL U -->
</rule>
<rule>
<from>у</from> <!-- CSL U -->
<to>u</to> <!-- LSL U -->
</rule>
<rule>
<from>Ф</from> <!-- CCL EF -->
<to>F</to> <!-- LCL F -->
</rule>
<rule>
<from>ф</from> <!-- CSL EF -->
<to>f</to> <!-- LSL F -->
</rule>
<rule>
<from>Ц</from> <!-- CCL TSE -->
<to>C</to> <!-- LCL C -->
</rule>
<rule>
<from>ц</from> <!-- CSL TSE -->
<to>c</to> <!-- LSL C -->
</rule>
<rule>
<from>С</from> <!-- CCL ES -->
<to>S</to> <!-- LCL S -->
</rule>
<rule>
<from>с</from> <!-- CSL ES -->
<to>s</to> <!-- LSL S -->
</rule>
<rule>
<from>Ч</from> <!-- CCL CHE -->
<to>Č</to> <!-- LCL C WITH CARON -->
</rule>
<rule>
<from>ч</from> <!-- CSL CHE -->
<to>č</to> <!-- LSL C WITH CARON -->
</rule>
<rule>
<from>Ш</from> <!-- CCL SHA -->
<to>Š</to> <!-- LCL S WITH CARON -->
</rule>
<rule>
<from>ш</from> <!-- CSL SHA -->
<to>š</to> <!-- LSL S WITH CARON -->
</rule>
<rule>
<from>Ъ</from> <!-- CCL HARD SIGN -->
<to>Ă</to> <!-- LCL A WITH BREVE -->
</rule>
<rule>
<from>ъ</from> <!-- CSL HARD SIGN -->
<to>ă</to> <!-- LSL A WITH BREVE -->
</rule>
<!-- The soft sign is only used inside a word before 'o' -->
<rule>
<from>Ь</from> <!-- CCL SOFT SIGN -->
<to>'</to> <!-- APOSTROPHE -->
<context>
<after>\p{IsUpper}</after>
</context>
</rule>
<rule>
<from>ь</from> <!-- CSL SOFT SIGN -->
<to>'</to> <!-- APOSTROPHE -->
</rule>
</rules>
</translit>
<!--
vim: sts=4 sw=4 ai et
-->