Skip to content

hansmi/wp2reg-language-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.