Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kyawnaingtun/ng-z2u-converter

Angular Zawgyi to Unicode converter
https://github.com/kyawnaingtun/ng-z2u-converter

angular-myanmar-unicode-converter myanmar-zawgyi-to-unicode-converter unicode-converter zawgyi-font

Last synced: 30 days ago
JSON representation

Angular Zawgyi to Unicode converter

Awesome Lists containing this project

README

        

# Angular Zawgyi to Unicode Converter
=======
A simple AngularJS filter that changes from Zawgyi font input values to Unicode values.

ဇော်ဂျီဖောင့် ဖြင့်ရေးသားထားသော input values များကို unicode values အဖြစ် Database တွင် အလွယ်တကူ သိမ်းဆည်းနိုင်ပါသည်။
database တွင် သိမ်းဆည်းထားသော Zawgyi font များကိုလည်း view section မှာ Unicode font အဖြစ် ပြောင်းလဲ ဖော်ပြနိုင်ပါသည်။

## How to get it ?

#### Manual Download
Download the from [here](https://github.com/KyawNaingTun/ng-z2u-converter/archive/master.zip)

#### Bower
```
bower install ng-z2u-converter
```

## Usage

1. Add ng-z2u.min.js to your main file (index.html)
```html

```

2. Set `ngZ2UConverter` as a dependency in your module
```javascript
var myapp = angular.module('myapp', ['ngZ2UConverter'])
```

3. Use the filter by passing it zawgyi text[View].
```html
{{zawgyiText | convertToUnicode}}
```
4. You can also use in controller[Controller]
```javascript
angular.controller('ApplicationController', function($scope, $filter) {//GLOBAL FILTER

var vm = this;
vm.name = "Converter Application";
vm.zawgyiText = "ျမန္မာယူနီကုဒ္ႏွင့္ ပါတ္သက္ေသာ သတင္းမ်ား၊ ေဆာင္းပါးမ်ားႏွင့္ ျမန္မာယူနီကုဒ္ဧရိယာ အဖြဲ႕၏ လႈပ္ရွား ေဆာင္ရြက္မႈမ်ားကို www.mmunicode.org တြင္ တင္ျပေပးသြားမွာ ျဖစ္ပါတယ္။";
vm.filterByController = function(){
vm.filterByContrlResult = $filter('convertToUnicode')(vm.zawgyiText);
}

});

```
5.

## Examples
You can see in example folder.

## Credits
This project is currently referenced by
[http://www.mcfmyanmar.org/myanmar-unicode-converter/](http://www.mcfmyanmar.org/myanmar-unicode-converter/).
All senior developers who developed font converter.
[Ko Saturngod](http://www.mysteryzillion.org/discussion/14015/zawgyi-or-unicode-auto-detect-font-type-and-convert-correctly).