poapply

Apply po translations to source code

Usage no npm install needed!

<script type="module">
  import poapply from 'https://cdn.skypack.dev/poapply';
</script>

README

poapply

A simple utility to apply po translations to source code

What it does:

  1. Iterate through all entries in po files (-f)
  2. Replace the first occurence of each entry in target file (-o)

How to use

poapply -f pofile -o target-file