[BUG 52147] Localized KWeather doesn't work
    Christian Loose 
    christian.loose at hamburg.de
       
    Fri Jan 24 18:47:19 GMT 2003
    
    
  
Hi everbody!
KWeather doesn't work when it's run under a non-us locale like de. Now I found 
out that klauncher doesn't start the DCOP weather service. KWeather tells 
klauncher to start the service by using 
KApplication::startServiceByName("KWeatherService",....);
Now the problem is the .desktop file of the weather service. The content looks 
like this:
[Desktop Entry]
Type=Service
Name=KWeatherService
...
Name[de]=KWetter-Service
...
After removing all the translated Name[...] lines the KWeather applet started 
to work.
Why does KLauncher use the translated names when using startServiceByName()? 
Does this really make sense?
Christian
    
    
More information about the kde-core-devel
mailing list