>I have made a function that do translation from Serbian Latin to Serbian Cyrillic, but I have problems with some letters that are specific to Serbian language.
Now it's impossible to make the characters show properly here, but... they might, if I omit the < pre > tags:
lparameters cLat
cCyr=strtran(cLat, "NJ","Њ")
cCyr=strtran(cCyr, "LJ","Љ")
cCyr=strtran(cCyr, "DŽ","Џ")
cCyr=strtran(cCyr, "nj","Њ")
cCyr=strtran(cCyr, "lj","Љ")
cCyr=strtran(cCyr, "dž","Џ")
cCyr=strtran(cCyr, "Nj","њ")
cCyr=strtran(cCyr, "Lj","љ")
cCyr=strtran(cCyr, "Dž","џ")
ccyr=chrtran(cCyr, "abvgdđežzijklmnoprstćufhcčš","абвгдђежзијклмнопрстћуфхцчш")
return cCyr
Note that you can't translate "dj" as if it was a "đ", because these words will have an error (there's no such word as "ođahati"):
nadjačati
nenadjebiv
odjaukati
odjahati
odjava
odjaviti
odjebati
odjedanput
odjedared
odjednom
odjedriti
odjek
odjekivati
odjeknuti
odjezditi
odjuriti
odjutros
podjarmiti
podjebavati
podjednako
predjelo
and also the dialect differences would vanish in some places - if you transcribe "djeca" as "đeca", it turns from any ijekavian to jekavian, i.e. from any mid-Serbian, Bosnian and/or Croatian into Montenegrin.
El jasno?