Blog posts tagged with 'php'.
Blog posts tagged with 'php'.
Tutorial: Translation with gettext + PHP
In this tutorial you are going to learn:
- Extract messages to translate with
xgettext
, stored as Portable Object Template file (.pot) - Use
msginit
andmsgmerge
to create a Portable Object file (.po) for each language - Convert the PO files into optimized Machine Object Files (.mo) using
msgfmt