Skip to content

Instantly share code, notes, and snippets.

@teekay
teekay / extract-localizations.js
Last active Jun 24, 2020
Convert LocBaml translations to CSV to import from Localization Manager
View extract-localizations.js
"use strict";
var _ = require("lodash");
var fs = require("fs");
var csvjson = require("csvjson");
var locales = ["cs", "de", "es"]; // customize based on locales of your translations
translate();
function translate() {
var translations = locales.map(culture => {
View gist:c03ff564383c6a83dc59c41efe26c24e
### Keybase proof
I hereby claim:
* I am teekay on github.
* I am tomaskohl (https://keybase.io/tomaskohl) on keybase.
* I have a public key whose fingerprint is C6FC 8756 9EA6 E81E DFBA 928A 4245 9ECD 733E 7B85
To claim this, I am signing this object:
You can’t perform that action at this time.