Skip to content
A gettext profiler / dynamic POT file generation
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Makefile
README.md
dynamic-xgettext
gettext-profiler.c

README.md

gettext-prof

A gettext profiler / dynamic POT file generation

Generates POT files based on messages that were actually requested during a program's execution.

Quick Start Guide

  1. Compile it:

make

  1. Use it with an application, such as gcc:

path/dynamic-gettext gcc

  1. In the end, a *_dynamic.pot file(s) is/are created in CWD. This .pot will contain exactly the messages that were really requested from gettext at runtime.

  2. Merge your translation with the *_dynamic.pot:

msgmerge -U gcc-9.1.xx.po gcc*_dynamic.pot

You can’t perform that action at this time.