ilib-loctool-webos-javascript
v1.13.4
Published
A loctool plugin that knows how to process JS files
Maintainers
Readme
ilib-loctool-webos-javascript
ilib-loctool-webos-javascript is a plugin for loctool that allows it to read and localize JavaScript files. This plugin is optimized for the webOS platform.
JavaScript FileType
This plugin expects to be used with the iLib library or Enact framework to internationalize your JavaScript code.
It extracts string usages used in the examples below by considering them as strings that need to be translated.
getString("Hello");
getString("Channel", "speaker_channel");
$L("Hello");
$L({value: "Channel", key: "speaker_channel"});Sample
The simple sample is provided in the samples-loctool. Please check the webos-js sample to see how the JavaScript file type is localized.
License
Copyright (c) 2019-2026, JEDLSoft
This plugin is licensed under Apache2. See the LICENSE file for more details.
Release Notes
See the CHANGELOG.md file.
