Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including transifex-loader with all npm packages installed. Try it out:

var transifexLoader = require("transifex-loader")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

transifex-loader v4.0.2

Webpack loader to fetch imported translation files from transifex.

transifex-loader

Greenkeeper badge Build Status codecov Dependency Status

A loader, that fetches the content of string files from transifex. Requires configuration via .transifexrc and .tx/config in the same format as the official tx tool. The configuration files are searched from the directory the loaded file is in up to the system root.

Installation

npm install --save-dev transifex-loader

Query options

store

You can disable writing the result from transifex to the original file by setting this to false.

disableCache

Disables reading the resource that is in the source language from the local file system and fetches it from transifex, too.

Known incompatibilities (to tx)

  • Requires the project to be on transifex.com but does not complain about it.
  • Ignores minimum_perc.

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free