serbian-transliterator
v0.2.0
Published
This is Angular library for transliterating from Serbian cyrilic to Serbian latinic, and vice versa.
Downloads
28
Maintainers
Readme
SerbianTransliterator
This is Angular library for transliterating from Serbian cyrilic to Serbian latinic, and vice versa.
Installation and how to use
Let's install it:
npm install serbian-transliterator
Import the library into a module:
import { SerbianTransliteratorModule } from 'serbian-transliterator';
...
@NgModule({
declarations: [ ... ],
imports: [
...
SerbianTransliteratorModule
],
...
})
Use it in HTML files:
<p>latinic transliteration: <strong>{{ 'аутоматски' | transliterator }}</strong></p>
or with explicitly set transliterator:
<p>cyrilic transliteration: <strong>{{ 'ručno' | transliterator: 'cir' }}</strong></p>
More details
Take a look into ./src/app/app.module.ts
and ./src/app/app.component.html
files.
About
The library is developed to solve transliteration on Značenje project, so you can use this website as demo. Apart of that, it is planned to be integrated on CirLat and Knjige.