JSPM

psuedoizerjs

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q27423F
  • License MIT

Convert language resources into psuedo-internationalized text

Package Exports

  • psuedoizerjs

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 (psuedoizerjs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

psuedoizerjs

Psuedoizer for working with angular-translate json files.

This library helps in the translation process by creating fake/psuedo-internationalized text from a (usually English) source translation file.

Includes a CLI for directly translating files from a shell, output is written to stdout mostly.

$ psuedoizer test.en.json
{
  "KEY_A": "[Väľūę 1 !!! !!! !!! !!! !!! !!! !!!]",
  "KEY_B": "[Väľūę 2 !!! !!! !!! !!! !!! !!! !!!]",
  "TEXT_1": "[Ŧęşŧ Åpp Ŧįŧľę !!! !!!]",
  "TEXT_2": "[Ŧĥę qūįčĸ þřőŵʼn ƒőχ ĵūmpęđ ővęř ŧĥę ľäžy čőŵ !!! !!!]"
}

Thanks

A thanks to Scott Hanselman for the original code in C# that I've used for several projects written in .NET I figured we could expand its use into the Javascript world.