Description of problem: The avahi-daemon sysinit script is not printing localized messages like the others (in my case, French) # /etc/init.d/avahi-daemon restart Shutting down Avahi daemon: [ OK ] Starting Avahi daemon... [ OK ] versus # /etc/init.d/postfix restart Arrêt de postfix : [ OK ] Démarrage de postfix : [ OK ] Version-Release number of selected component (if applicable): avahi-0.6.3-1
The initscripts package needs to be regenerated with the avahi-daemon initscript installed in order to generate the messages to be translated, then the translation needs to be done . The avahi-daemon initscript should be gettext ready.
Not fully, as of 0.6.3-1, at least. $ grep echo avahi-daemon | grep '"' echo -n $"Starting Avahi daemon... " echo -n "Shutting down Avahi daemon: " echo -n "Reloading Avahi daemon... " [ $? = 0 ] && echo "Avahi daemon is running" || echo "Avahi daemon is not running" echo $"Usage: $0 {start|stop|status|restart|condrestart}" That's at least 4 strings that aren't marked. initscripts pot was regenerated at the string freeze, it may get regenerated later.
OK, sorry about that - the initscript is now FULLY gettext-ized in avahi-0.6.4-2 - ALL echo-ed strings are in $"..." quotes.
Now startup is localized but shutdown isn't
The only thing currently missing is new translations, this should get fixed during the next string freeze.
FC-6 contains the necessary translations at least for French and Czech.