> The whole bunch of messages are then inserted into the proper position
> to get a fully translated and fully functional Theme.rc
>
> My question is:
>
> Is there a smarter way to do it? I couldn't think of anything smarter.
> If you think that this solution is smart enough, then, I can improve
> the script to make it applicable to a wider range of conditions.
> That's easy, but if we can work out some smarter algorithm, that would
> be just a waste of time, so I hold on at the moment.
Any string that appears in KSplash theme can be localized by adding it to
ksplash.po. You don't need to touch the Theme.rc file.
David
As far as I now, the "Welcome to" msgid is only in the Czech ksplash.po
in CVS. But adding it to .pot or to other .po files is trivial.
If localization of "Welcome to" message is the only thing we need, this
solution is quite appropriate.
> And as for the kdm/gdm screen, is it the same?
Maybe, I haven't tried it. Maybe adding msgids to kdmgreet gettext
domain would work in the same way.