On Monday, March 17, 2008, 8:04:26 PM, Per Inge Mathisen wrote: > On Mon, Mar 17, 2008 at 7:48 PM, Roman <[EMAIL PROTECTED]> wrote: >> NOTE: someone more familiar with gettext might want to add those and the >> ones from kf_ToggleRadarTerrain() to the .po files.
> Done. > All you need to do is to add _() around a string, like this: > printf( "Untranslated string"); > printf(_("Translated string")); > Gettext will then parse the files to extract the strings to translate > automatically. What do you mean with 'automatically', does gettext get launched during compilations or something? I was wondering how to generate the .po templates. > - Per > _______________________________________________ > Warzone-dev mailing list > Warzoneemail@example.com > https://mail.gna.org/listinfo/warzone-dev -- Best regards, Roman mailto:[EMAIL PROTECTED] _______________________________________________ Warzone-dev mailing list Warzonefirstname.lastname@example.org https://mail.gna.org/listinfo/warzone-dev