Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 14 lines (11 sloc) 0.339 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/bash

echo "before catalog generation"
php test.php
./php-xgettext --from-code="UTF-8" --package-name="test" --package-version="1.0" --output=messages.pot test.php

msgmerge sv.po messages.pot -U
msgfmt sv.po
mkdir sv/LC_MESSAGES -p
mv messages.mo sv/LC_MESSAGES/
echo "after catalog generation"
php test.php

rm -rf sv messages.*
Something went wrong with that request. Please try again.