1.0.0 • Published 6 years ago

i18n-extractor v1.0.0

Weekly downloads
2
License
BSD-2-Clause
Repository
github
Last release
6 years ago

i18n-extractor

This is a module/command line application to parse Javascript and search for nodes of the form i18n('literal string'), printing out all such strings it finds. (The function name can be customized.)

It allows multiple arguments to the magic function, but it only cares about the first one. Zero arguments is too few.

Install

npm install i18n-extractor

Usage

$ i18n-extract file.js
{"":["translate me","keep translating me"]}

et cetera

If there's something you want, then do it and send me a pull request (please).

1.0.0

6 years ago

0.4.0

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.0

11 years ago

0.1.0

11 years ago