Tools for Fitbit OS i18n strings format
Usage
import fs from 'fs';
import { TranslationLoader } from 'bison-i18n';
const translations = new TranslationLoader()
.loadLanguage('en-US', fs.readFileSync('en-US.po'))
.loadLanguage('fr-FR', fs.readFileSync('fr-FR.po'))
.build();
fs.writeFileSync('en-US', translations.getLanguage('en-US'));