Blog posts tagged with 'po files'.

Blog posts tagged with 'po files'.

Tutorial: Translation with gettext + PHP

2019-04-16 Andreas Löw
In this tutorial you are going to learn:
  • Extract messages to translate with xgettext, stored as Portable Object Template file (.pot)
  • Use msginit and msgmerge to create a Portable Object file (.po) for each language
  • Convert the PO files into optimized Machine Object Files (.mo) using msgfmt
Continue reading...