wp2reg-language-extractor

command module
v0.0.0-...-05bef53 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2022 License: BSD-3-Clause Imports: 13 Imported by: 0

README

wp2reg-language-extractor

Parse and extract translation strings from the wp2reg firmware used by Luxtronik 2.x heat pump controllers manufactured and deployed by Alpha Innotec, NIBE, Novelan and possibly other companies and/or brands.

Tested using wp2reg version 3.85.6.

Extract firmware

The firmware is packaged as a tarball and can be unpacked using GNU tar and other implementations, e.g.:

version=3.85.6 && \
mkdir "wp2reg-${version}" && \
tar --wildcards --to-stdout -xzf "wp2reg-V${version}" "home.wp2reg-V${version}_*" | \
tar -C "wp2reg-${version}" --wildcards -xvf - 'lang_*'

Extract translation strings

./wp2reg-language-extractor "wp2reg-${version}"/lang_* > i18n.csv

The resulting CSV file is encoded using UTF-8 and can be opened using any spreadsheet software, e.g. LibreOffice Calc.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL