Releases: mallocator/gulp-international
Added verbose logging option
v1.0.12
Updated latest dependencies
v1.0.11
Ignore binary files
Binary that were processed would previously be messed up by the tokenization process. Binary files are now ignored and just passed on as if ignoreTokens was enabled.
More flexible options
Most options now support arrays as well, so that you can define multiple strings or regular expressions in case you don't want to do everything in just one.
Encode HTML entities
This new version allows to encode any uft8 characters as html entities and also introduces the the ability to use simple strings to match filenames.
Paths are now relative
In previous versions the path in the filename was the absolute path to this file. This prevented having the language be a parent directory to all files. This update makes all paths relative and allows to have parent directories.
Readme cleanup
Sometimes you're just a little hasty and throw a release out, before you know it. It's a tiny release because only one little thing changed and might not be worth it, especially considering that I've made a guestimated 10000 releases in the last 30 seconds, but on the other hand it shows how excited I am to keep working on this cute little script.
In any case, if you happen to stumble upon this little release note, then thank you very much for your interest. I hope you like this plugin and can make good use of it.
RegExp support
IgnoreTokens, IgnoreOriginal and DryRun now support filtering based on regular expression.
Ignore tokens option
Added the option to ignore tokens. Different than the dryRun, this will still apply the filename option and create a file for each language with the original content.
Better stop condition and support for empty translations
The title says it all:
The stop condition now supports tokens with "_" and "-".
Empty translations (token:"") are no longer ignored.
Some other test tweaks and code cleanup.