Module:kxv-translit/documentation
Appearance
This module will transliterate Kuvi language text. It is also used to transliterate Kui (India), Manda (India), and Pengo.
The module should preferably not be called directly from templates or other modules.
To use it from a template, use {{xlit}}
.
Within a module, use Module:languages#Language:transliterate.
For testcases, see Module:kxv-translit/testcases.
Functions
tr(text, lang, sc)
- Transliterates a given piece of
text
written in the script specified by the codesc
, and language specified by the codelang
. - When the transliteration fails, returns
nil
.
Testcases
[edit]All tests passed. (refresh)
Text | Expected | Actual | Comments | |
---|---|---|---|---|
ଅଡୁ | oḍu | oḍu | independent ଅ is o | |
ଓଡୁ | oḍu | oḍu | independent ଓ is o | |
ଅ୕ଡୁ | ōḍu | ōḍu | independent ଅ୕ is ō | |
ଓଓଡୁ | ōḍu | ōḍu | independent ଓଓ is ō | |
ଆକୁ | aku | aku | independent ଆ is a | |
ଆ୕କୁ | āku | āku | independent ଆ୕ is ā | |
ଆଆକୁ | āku | āku | independent ଆଆ is ā | |
ଏସ୍କି | eski | eski | independent ଏ is e | |
ଏ୕ସ୍କି | ēski | ēski | independent ଏ୕ is ē | |
ଏଏସ୍କି | ēski | ēski | independent ଏଏ is ē | |
କଡି | koḍi | koḍi | dependent ଅ/ଓ is o | |
କ୕ଡି | kōḍi | kōḍi | dependent ଅ୕ is ō | |
କୋଓଡି | kōḍi | kōḍi | dependent ଓଓ is ō | |
ବାଲା | bala | bala | dependent ଆ is a | |
ବା୕ଲା | bāla | bāla | dependent ଆ୕ is ā | |
ବଆଲା | bāla | bāla | dependent ଆଆ is ā | |
ମେଣ୍ଡା | meṇḍa | meṇḍa | dependent ଏ is e | |
ମେ୕ଣ୍ଡା | mēṇḍa | mēṇḍa | dependent ଏ୕ is ē | |
ମେଏଣ୍ଡା | mēṇḍa | mēṇḍa | dependent ଏଏ is ē | |
ଇଇ | ī | ī | independent ଇଇ is ī | |
ଉଉ | ū | ū | independent ଉଉ is ū | |
କିଇ | kī | kī | dependent ଇଇ is ī | |
କୁଉ | kū | kū | dependent ଉଉ is ū | |
କୁଃଏ | kuʔe | kuʔe | glottal stop ʔ | |
ବିସେୟିଁ | biseyĩ | biseyĩ | chandrabindu |