loctool Plugins

Plugins

The loctool is driven by plugins that know how to parse various types of files, and write out the appropriate localized output.

Plugins can be loaded dynamically using the custom type of project and listing out the required plugins in the plugins section of the project.json config file. Plugins are implemented as separate node modules similar to the way Babel or Webpack plugins are implemented.

If you would like to write new one,
read the How to Write a loctool Plugin documentation for all the details.

Plugin List

NameDescription
ilib-loctool-android-layoutextract strings from Android layout.xml files and produce translated strings.xml files
ilib-loctool-android-resourceextract strings from Android strings.xml files and produce translated strings.xml files
ilib-loctool-csvextract strings from comma-separated values (CSV) format files and produce translated CSV files
ilib-loctool-ghfmextract strings from Github-Flavored Markdown (MD) format files and produce translated MD files
ilib-loctool-ghfm-readmeioextract strings from Github-Flavored Markdown (MD) format files with Readme.io extensions and produce translated MD files
ilib-loctool-hamlextract strings from HAML format files and produce translated HAML files
ilib-loctool-htmlextract strings from static HTML files and produce translated HTML files
ilib-loctool-jstextract strings from Javascript Template (JST) code files and produce translated JST files
ilib-loctool-stringsextract strings from iOS .strings format resource files and produce other .strings files
ilib-loctool-javaextract strings from Java code that uses the ilib ResBundle class to do its translations and produce properties resource files
ilib-loctool-javascriptextract strings from Javascript code that uses ilib to do its translations and produce JS resource files
ilib-loctool-javascript-resourceextract strings from ilib Javascript resource files and produce JS resource files
ilib-loctool-jsxextract strings from JSX format code that uses ilib and react-ilib to do its translations
ilib-loctool-jstextract strings from JavaScript Template (JST) format files
ilib-loctool-objectivecextract strings from Objective-C code for iOS and produce .strings files
ilib-loctool-swiftextract strings from Swift code for iOS and produce .strings files
ilib-loctool-yamlextract strings from YAML format files and produce translated YAML files
ilib-loctool-xliffextract strings from XLIFF format files and produce translated XLIFF files
ilib-loctool-webos-appinfo-jsonextract strings webOS appinfo.json files and produce translated appinfo.json files for webOS
ilib-loctool-webos-cextract strings from C language files for webOS
ilib-loctool-webos-cppextract strings from C++ language files for webOS
ilib-loctool-webos-javascriptextract strings from Javascript language files for webOS
ilib-loctool-webos-json-resourceextract strings from javascript, C/C++ files and produce translated json files for webOS
ilib-loctool-webos-qmlextract strings from QML language files for webOS
ilib-loctool-webos-ts-resourceextract strings from webOS QML files and produce translated QT's TS format files for webOS
ilib-loctool-salesforce-metaxmlextract strings from -meta.xml files and produced translated meta.xml files for Salesforce
ilib-loctool-jsonextract strings json files and produce translated json files
ilib-loctool-poextract strings from po files and produce translated po files