Skip to content

Instantly share code, notes, and snippets.

@ANPez
ANPez / reorder_strings.xml.go
Created August 29, 2017 11:06
Script to reorder a strings.xml according to another ordered file. Useful if you want your translations to be ordered in the same order.
package main
import (
"encoding/xml"
"fmt"
"io/ioutil"
"os"
)
type resources struct {