From: Alex de L. <ale...@xs...> - 2004-02-23 16:50:49
|
> I'd like to translate networkconf in french, but there is no pot file en the > cvs tree! Do you know how to create it? Hey Ludo, Sorry for not responding sooner, was at fosdem over the weekend (the belgian beer was more tempting than checking my email :) I just made the networkconf.pot file for you in CVS. In general, gettext works like this: # Write strings in the .c files as _("string") # Call xgettext --keyword=_ -i -o foo.pot *.c # Initially take this as base for translations and copy foo.pot to lang.po # Call msgmerge -o lang.pox lang.po foo.pot to get a new (lang.pox) language file. Now also on the wiki: http://am.xs4all.nl/phpwiki/index.php/GetText Cheers and thanks for the effort, Alex /------------------------------------------------------------------\ | Alex de Landgraaf | The cure for boredom is curiosity | | Student AI & CS, VU, A'dam | There is no cure for curiosity | | Phone: 06-16844084 | | | GPG: http://am.xs4all.nl/key_alex.asc /'-'\ | | www.alextreme.org & www.morphix.org ( o o ) | \------------------------------------------oOO0--(_)--0OOo---------/ |