i18next post-processor for processing korean postposition
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
src
test
.codeclimate.yml
.coveralls.yml
.editorconfig
.gitignore
.travis.yml
LICENSE
README.md
package-lock.json
package.json
tslint.json

README.md

npm version Build Status Coverage Status dependencies Status devDependencies Status peerDependencies Status 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

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}}[[를]] 수정했다.