Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/petarov/translitbg
Българска транслитерация (Bulgarian to Latin transliteration for Go)
https://github.com/petarov/translitbg
bulgaria bulgarian-language transliterate-bulgarian transliterates-bulgarian transliteration
Last synced: 14 days ago
JSON representation
Българска транслитерация (Bulgarian to Latin transliteration for Go)
- Host: GitHub
- URL: https://github.com/petarov/translitbg
- Owner: petarov
- License: mit
- Created: 2024-04-21T20:00:00.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-10-26T20:21:32.000Z (2 months ago)
- Last Synced: 2024-11-11T18:48:33.381Z (about 2 months ago)
- Topics: bulgaria, bulgarian-language, transliterate-bulgarian, transliterates-bulgarian, transliteration
- Language: Go
- Homepage: https://pkg.go.dev/github.com/petarov/translitbg
- Size: 55.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# translitbg
[![CI Build](https://github.com/petarov/translitbg/actions/workflows/build.yml/badge.svg)](https://github.com/petarov/translitbg/actions/workflows/build.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/petarov/translitbg)](https://goreportcard.com/report/github.com/petarov/translitbg)
[![PkgGoDev](https://pkg.go.dev/badge/github.com/petarov/translitbg)](https://pkg.go.dev/github.com/petarov/translitbg)Transliteration of Bulgarian to Latin characters for Go
Транслитерация на българските букви с латински, наречена още латинска транслитерация или латинизация/романизация на българския език.
See also [translitbg.js](https://github.com/petarov/translitbg.js)
# Install
go get github.com/petarov/translitbg
# Usage
```go
tr := translitbg.New()
tr.Encode("абвгдежзийклмнопрстуфхцчшщъьюя")
// Output: abvgdezhziyklmnoprstufhtschshshtayyuya
tr.Encode("Стара планина")
// Output: Stara planina
tr.Encode("Горна Оряховица")
// Output: Gorna Oryahovitsa
```# References
* [Закон за транслитерацията](http://bg.wikisource.org/wiki/%D0%97%D0%B0%D0%BA%D0%BE%D0%BD_%D0%B7%D0%B0_%D1%82%D1%80%D0%B0%D0%BD%D1%81%D0%BB%D0%B8%D1%82%D0%B5%D1%80%D0%B0%D1%86%D0%B8%D1%8F%D1%82%D0%B0)
* [Транслитерация на българските букви с латински](http://bg.wikipedia.org/wiki/%D0%A2%D1%80%D0%B0%D0%BD%D1%81%D0%BB%D0%B8%D1%82%D0%B5%D1%80%D0%B0%D1%86%D0%B8%D1%8F_%D0%BD%D0%B0_%D0%B1%D1%8A%D0%BB%D0%B3%D0%B0%D1%80%D1%81%D0%BA%D0%B8%D1%82%D0%B5_%D0%B1%D1%83%D0%BA%D0%B2%D0%B8_%D1%81_%D0%BB%D0%B0%D1%82%D0%B8%D0%BD%D1%81%D0%BA%D0%B8)# License
[MIT](LICENSE)