Package Exports
- i18next-pseudoloc
- i18next-pseudoloc/es/index.js
- i18next-pseudoloc/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (i18next-pseudoloc) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
i18next-pseudoloc
Pseudo Localization Test package that can test Latin Extended-A, limited Korean/Japanese/Thai character display
npm package
https://www.npmjs.com/package/i18next-pseudoloc
Install
$ npm i i18next-pseudolocSetting
import i18n from "i18next";
import { initReactI18next } from "react-i18next";
import PseudoLoc from 'i18next-pseudoloc';
...
i18n
.use(new PseudoLoc({
lengther:1,
enabled: true,
enableCJK: true,
sourceLocale: 'pt-BR', // pt-BR is only for PL Test
}))
.init({
postProcess: ["pseudoloc"],
...How to ready Pseudo Loc string
<긇<[Ŷṓṵ āŗė ėňḡĩňėėŗ, ŧĥėň ĉĥėĉķṓṵŧ ŧĥė ŗėṗṓ ṓϝ ŧĥĩş āṗṗḽĩĉāŧĩṓň。]>ヲ>There are Latin character sentence opening and closing markers -
<[and]>There are Korean/Japanese/Thai opening and closing markers with random characters -
<긇andヲ>If the sentence has the
.(period - fullstop), then it will be replaced with Japanese period -。If the sentence has the
?, then it will be replaced with Spanish inverted mark of interrogation -¿If the sentence has the
“,(opening quotation), then it will be replaced with the German opening quotation -„