summaryrefslogtreecommitdiff
path: root/NOTES
blob: 61c386e502090b8558352334da26f3fecbed2dfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
This is the code for my personal website built with Haunt.

To create a pot file, call:

xgettext -f po/POTFILES -o po/pelzfloriande-website.pot --from-code=UTF-8 --copyright-holder="" --package-name="pelzfloriande-website" --msgid-bugs-address="pelzflorian@pelzflorian.de" --keyword=_ --keyword=__

To create a po file from a pot file, do the usual:

cd po
msginit -l de --no-translator

To merge an existing po file with a new pot file:

cd po
msgmerge -U de.po pelzfloriande-website.pot

To update mo files:

cd po
msgfmt de.po
cd ..
mv po/messages.mo de/LC_MESSAGES/pelzfloriande.mo
cd po
msgfmt en.po
cd ..
mv po/messages.mo en/LC_MESSAGES/pelzfloriande.mo

To build the site:

haunt build