{"_id":"@antisoftwareclub/i18next-pseudo","_rev":"3-63f4fa69ad559deebb9af9823553ea44","name":"@antisoftwareclub/i18next-pseudo","dist-tags":{"latest":"2.3.0-antisoftware.3"},"versions":{"2.3.0-antisoftware.2":{"name":"@antisoftwareclub/i18next-pseudo","version":"2.3.0-antisoftware.2","description":"Pseudolocalization plugin for i18next","main":"lib/index.js","module":"es/index.js","types":"./index.d.ts","keywords":["i18next","react","react-18next","pseudo","pseudolocalization","i18next-pseudo"],"scripts":{"build":"nwb build-web-module","clean":"nwb clean-module","test":"nwb test","test:coverage":"nwb test --coverage","test:watch":"nwb test --server","prepare":"npm run build"},"dependencies":{"i18next":"^19.1.0"},"devDependencies":{"nwb":"0.21.x"},"author":{"name":"Matt Boatman","email":"matthewd.boatman@gmail.com","url":"http://matthewboatman.com/"},"contributors":[{"name":"anti software software club","email":"corp@antisoftware.club","url":"https://antisoftware.club/"}],"homepage":"http://matthewboatman.com/","license":"MIT","repository":{"type":"git","url":"git+https://github.com/antisoftwareclub/i18next-pseudo.git"},"gitHead":"e34d9978eda4cbeb0babf7233cd557ab2e0c1ec3","bugs":{"url":"https://github.com/antisoftwareclub/i18next-pseudo/issues"},"_id":"@antisoftwareclub/i18next-pseudo@2.3.0-antisoftware.2","_nodeVersion":"16.9.1","_npmVersion":"7.21.1","dist":{"integrity":"sha512-UtKKkvFUTbLyXA5XphwgvNpXzpATrJ/xN5bAJDnmgPnrBtdqmKg5CL3j+nnWsITZ7WcrIkMKZ9FYCVOg8z4w1w==","shasum":"4eb8ace1b7f89b9a02f0b2e9e1e771804fb3daa2","tarball":"https://registry.npmjs.org/@antisoftwareclub/i18next-pseudo/-/i18next-pseudo-2.3.0-antisoftware.2.tgz","fileCount":11,"unpackedSize":34991,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOe/QOaXNPYXoz9saC0SOu5fb7jCHsqfSxyeeWuTu7egIhALXGz9snB1VZd105aC0tkDH6Y410d4f5/2SEGOV5nrCM"}]},"_npmUser":{"name":"jkap","email":"me@jkap.io"},"directories":{},"maintainers":[{"name":"vogon","email":"vogon@antisoftware.club"},{"name":"jkap","email":"me@jkap.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/i18next-pseudo_2.3.0-antisoftware.2_1631896435502_0.890548945977609"},"_hasShrinkwrap":false},"2.3.0-antisoftware.3":{"name":"@antisoftwareclub/i18next-pseudo","version":"2.3.0-antisoftware.3","description":"Pseudolocalization plugin for i18next","main":"lib/index.js","module":"es/index.js","types":"./index.d.ts","keywords":["i18next","react","react-18next","pseudo","pseudolocalization","i18next-pseudo"],"scripts":{"build":"nwb build-web-module","clean":"nwb clean-module","test":"nwb test","test:coverage":"nwb test --coverage","test:watch":"nwb test --server","prepare":"npm run build"},"dependencies":{"i18next":"^19.1.0"},"devDependencies":{"nwb":"0.21.x"},"author":{"name":"Matt Boatman","email":"matthewd.boatman@gmail.com","url":"http://matthewboatman.com/"},"contributors":[{"name":"anti software software club","email":"corp@antisoftware.club","url":"https://antisoftware.club/"}],"homepage":"http://matthewboatman.com/","license":"MIT","repository":{"type":"git","url":"git+https://github.com/antisoftwareclub/i18next-pseudo.git"},"gitHead":"2cf886456ca201d1b907b126c18f570f158f86f7","bugs":{"url":"https://github.com/antisoftwareclub/i18next-pseudo/issues"},"_id":"@antisoftwareclub/i18next-pseudo@2.3.0-antisoftware.3","_nodeVersion":"16.9.1","_npmVersion":"7.21.1","dist":{"integrity":"sha512-wtIe3sNr5CROz0PknsIYX6djyjs6jxKpD6993oyejCzLf90QJgPbRvEeVdk2IRMvK/E99s9Lni8T9UcLFAyXzw==","shasum":"f84f90fa45cc7e2c17b8f92248d20e13f0fd43cf","tarball":"https://registry.npmjs.org/@antisoftwareclub/i18next-pseudo/-/i18next-pseudo-2.3.0-antisoftware.3.tgz","fileCount":11,"unpackedSize":35009,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzFbICRA9TVsSAnZWagAAPBEP/2QCvSd6KTvYIxnkfT/y\n1RRNvXJqi110J4BZa0U7tNoAagy7oDYqNpCwdUBtDHV+6e77CLIhm/MBNW4d\neX0i7RLaAC3EqzP0ZOkfn9M6/hTZZizesra9lOiPSlJj1J5sCNtjJP30nXAD\nfOHmjzVY3hCPqW9pl3HzK25e24/YmLYL2fmUzHonzyf27OzdmNznRcubzAtH\nM5q8jMOz+FmDKUVS8t3x5vqRxzuOGuNUiGNBvveJ4yjJ4kYxr9ANUWx3JTWw\nCtPW+ZpaDxfkuis/jbOdr75jArI97g22IvIHbfzam4zwUxC0H4rD5H7XmSAR\nEyeev9UiQDYwXSB7b/CF7R6AJSUn+bjOw6BmeajY2ZKbL9LKVOlZKl6o8U84\nRqHD8WCTNXAt7FumZys9Bse71AQey2k6Qxe9NqpKDAr9IkLXIGRcNwlBMDQg\nxiEpRGxthImYny5fei7WFT4shzpp4lzYbVZjAkBiWWNLuzzbTdRyCq+IgRgp\nGtYYiyMQkYbZoYcWOc/7OsI2MMddO7jlH7GkDp9Jw1sEQYfRoU9u9cfYTNAd\nFpHjhcOEO2xkTCWZ3jFX49RFgeZk6f7Bq7SmJtL6xJpt+r8popS42UZU3p8t\nwZqROWPt5lvwvIiu3Sm4KPZlgZcrfxS7PMG5JrK92c9Ova57JP9y2gCIioW7\nsI61\r\n=7HJ1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDO/M9msQ0Rq83tOnNaRJ7A6KgW8X0nRpeMAnqBTFOI4AIhAJKnWkYbEsR73P+OZYPRm8aFsWDHer6vknjdEonG5KdL"}]},"_npmUser":{"name":"jkap","email":"me@jkap.io"},"directories":{},"maintainers":[{"name":"vogon","email":"vogon@antisoftware.club"},{"name":"jkap","email":"me@jkap.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/i18next-pseudo_2.3.0-antisoftware.3_1631897040160_0.2561931008089424"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-17T16:33:55.462Z","2.3.0-antisoftware.2":"2021-09-17T16:33:55.655Z","modified":"2022-04-04T14:22:25.137Z","2.3.0-antisoftware.3":"2021-09-17T16:44:00.312Z"},"maintainers":[{"name":"vogon","email":"vogon@antisoftware.club"},{"name":"jkap","email":"me@jkap.io"}],"description":"Pseudolocalization plugin for i18next","homepage":"http://matthewboatman.com/","keywords":["i18next","react","react-18next","pseudo","pseudolocalization","i18next-pseudo"],"repository":{"type":"git","url":"git+https://github.com/antisoftwareclub/i18next-pseudo.git"},"contributors":[{"name":"anti software software club","email":"corp@antisoftware.club","url":"https://antisoftware.club/"}],"author":{"name":"Matt Boatman","email":"matthewd.boatman@gmail.com","url":"http://matthewboatman.com/"},"bugs":{"url":"https://github.com/antisoftwareclub/i18next-pseudo/issues"},"license":"MIT","readme":"[![npm version](https://badge.fury.io/js/i18next-pseudo.svg)](https://badge.fury.io/js/i18next-pseudo)\n\n[npm-badge]: https://img.shields.io/npm/v/npm-package.png?style=flat-square\n[npm]: https://www.npmjs.com/package/i18next-pseudo\n\n[Example Website](http://mattboatmani18n.s3-website-us-east-1.amazonaws.com/)\n\n# i18next-pseudo\n\ni18next-pseudo is a plugin for [i18next](https://www.i18next.com/overview/plugins-and-utils) that returns translated strings in Pseudolocalization format.\n\n# Pseudolocalization\n[Pseudolocalization](https://en.wikipedia.org/wiki/Pseudolocalization)\n> **Pseudolocalization** (or **pseudo-localization**) is a software testing method used for testing internationalization aspects of software. Instead of translating the text of the software into a foreign language, as in the process of localization, the textual elements of an application are replaced with an altered version of the original language.\n\n`About => ḀḀḀḅṓṓṓṵṵṵṭ`\n\nEnglish in general is much shorter than other languages. This plugin will allow developers to design and develop without focusing on the length of an given word. Issues that arise during multilingual testing will be easily found at the time of development.\n\n# Getting Started\n`$ npm install --save i18next-pseudo`\n\n# Usage\nIn your configuration for `i18next`, instantiate it as a new class and set the `postProcess` to `pseudo` in the `init` block.\n\n```javascript\nimport i18n from 'i18next';\nimport { reactI18nextModule } from 'react-i18next';\nimport Pseudo from 'i18next-pseudo';\n\ni18n\n  .use(new Pseudo())\n  .use(reactI18nextModule)\n  .init({\n    ...\n    postProcess: ['pseudo'],\n    ...\n  });\n\nexport default i18n;\n\n```\n\n# Configuration\nAll configurations are optional.\n\n| option | default | type | description |\n| --- | --- | --- | --- |\n| `languageToPseudo` | `en` |`string`| The locale that you would like to run through pseudolocalization |\n| `repeatedLetters` | `['a', 'e', 'i', 'o', 'u', 'y', 'A', 'E', 'I', 'O', 'U', 'Y']` | `array of strings`| The letters that will be repeated in a given string |\n| `letterMultiplier` | `2` | `number` | The amount of times you would like your repeatedLetter array to be multiplied |\n| `letters` | `{  a: 'α',  b: 'ḅ',  c: 'ͼ',  d: 'ḍ',  e: 'ḛ',  f: 'ϝ',  g: 'ḡ',  h: 'ḥ',  i: 'ḭ',  j: 'ĵ',  : ḳ,  l: 'ḽ',  m: 'ṃ',  n: 'ṇ',  o: 'ṓ',  p: 'ṗ',  q: 'ʠ',  r: 'ṛ',  s: 'ṡ',  t: 'ṭ',  u: 'ṵ',  v: 'ṽ',  w: 'ẁ',  x: 'ẋ',  y: 'ẏ',  z: 'ẓ',  A: 'Ḁ',  B: 'Ḃ',  C: 'Ḉ',  D: 'Ḍ',  E: 'Ḛ',  F: 'Ḟ',  G: 'Ḡ',  H: 'Ḥ',  I: 'Ḭ',  : 'Ĵ',  K: 'Ḱ',  L: 'Ḻ',  M: 'Ṁ',  N: 'Ṅ',  O: 'Ṏ',  P: 'Ṕ',  Q: 'Ǫ',  R: 'Ṛ',  S: 'Ṣ',  T: 'Ṫ',  U: 'Ṳ',  V:   W: 'Ŵ',  X: 'Ẋ',  Y: 'Ŷ',  Z: 'Ż',}` | `object` | The letters in a string that will be replaced during pseudolocalization |\n| `wrapped` | `false` | `boolean` | Should all strings be wrapped in to square brackets |\n| `enabled` | `true` | `boolean`| Should pseudolocalization be ran (useful for environment variables)|\n\n```javascript\ni18n\n  .use(new Pseudo({\n    enabled: true,\n    languageToPseudo: 'es-US',\n    letterMultiplier: 4,\n    repeatedLetters: ['B', 'o', 'a', 't']\n  }))\n  .use(reactI18nextModule)\n  .init({\n    ...\n    postProcess: ['pseudo'],\n    ...\n  });\n\n```\n","readmeFilename":"README.md"}