https://github.com/Perlmint/i18next-korean-postposition-processor
i18next post-processor for processing korean postposition
https://github.com/Perlmint/i18next-korean-postposition-processor
Last synced: 9 months ago
JSON representation
i18next post-processor for processing korean postposition
- Host: GitHub
- URL: https://github.com/Perlmint/i18next-korean-postposition-processor
- Owner: Perlmint
- License: mit
- Created: 2017-11-21T05:12:01.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-09-26T08:39:32.000Z (over 4 years ago)
- Last Synced: 2025-03-28T07:40:31.673Z (10 months ago)
- Language: TypeScript
- Homepage:
- Size: 331 KB
- Stars: 22
- Watchers: 2
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - i18next-korean-postposition-processor - processor for processing korean postposition | Perlmint | 16 | (TypeScript)
README
[](https://badge.fury.io/js/i18next-korean-postposition-processor)
[](https://travis-ci.org/Perlmint/i18next-korean-postposition-processor)
[](https://coveralls.io/github/Perlmint/i18next-korean-postposition-processor?branch=master)
[](https://david-dm.org/perlmint/i18next-korean-postposition-processor)
[](https://david-dm.org/perlmint/i18next-korean-postposition-processor?type=dev)
[](https://david-dm.org/perlmint/i18next-korean-postposition-processor?type=peer)
[](https://codeclimate.com/github/Perlmint/i18next-korean-postposition-processor/maintainability)
# i18next-korean-postposition-processor
i18next post-processor for processing korean postposition - `을/를`, `이/가`, `은/는`, `으로/로`, `과/와`, `이랑/랑`.
This processor can handle korean character or arabic number(without decimal mark).
## Setup
```javascript
import processor, { KoreanPostpositionProcessor, default_testers, default_modifiers } from 'i18next-korean-postposition-processor';
i18next.use(processor);
i18next.use(new KoreanPostpositionProcessor());
i18next.use(new KoreanPostpositionProcessor({
testers: [/* testers to use */, ...default_testers],
modifiers: [/* modifiers to use */, ...default_modifiers],
});
```
## Translation text
```
{{some_value}}[[를]] 수정했다.
```