Bug 461512 - Few Translation of Weather description not working
Summary: Few Translation of Weather description not working
Status: REPORTED
Alias: None
Product: kweather
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-06 16:54 UTC by Alois Spitzbart
Modified: 2023-08-27 14:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Descripion in English not in German (55.56 KB, image/png)
2022-11-06 16:54 UTC, Alois Spitzbart
Details
Works here (60.91 KB, image/png)
2022-11-07 16:41 UTC, Nicolas Fella
Details
Kweather with mixed languages (69.02 KB, image/png)
2023-06-17 13:16 UTC, Frank Kruger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alois Spitzbart 2022-11-06 16:54:15 UTC
Created attachment 153527 [details]
Descripion in English not in German

SUMMARY
The Strings for the weather are in english instead of german. I have checked the strings in kweathercore and the translated strings are there. 



STEPS TO REPRODUCE
1.  Set Localisation to German
2.  Start application
3.  

OBSERVED RESULT
"Partly Cloudy"

EXPECTED RESULT
"Teilweise bewölkt"

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Manjaro Linux
(available in About System)
KDE Plasma Version: 5.26.2
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 5.19.16-4-MANJARO (64-bit)
ADDITIONAL INFORMATION
Comment 1 Devin Lin 2022-11-07 14:38:39 UTC
This is strange, does the same issue occur if you try the flatpak version?
Comment 2 Alois Spitzbart 2022-11-07 16:30:30 UTC
It is the same with flatpak.
Comment 3 Nicolas Fella 2022-11-07 16:41:40 UTC
Created attachment 153558 [details]
Works here

Works fine for me
Comment 4 Alois Spitzbart 2022-11-08 10:48:13 UTC
I checked it on another computer and there it is the same. What i found is, that there is no file kweathercore5.mo in /usr/share/locale/de/LC_MESSAGES/ in this two computers. When i generate this file, it is fine.
Is this a packaging issue, but why is it the same with flatpack?
Comment 5 Devin Lin 2022-11-10 05:10:12 UTC
I've heard reports that other apps released in Plasma Mobile Gear seem to have translations missing on Manjaro, I do not know if this is the case with other distributions... 

I will need to look into the flatpak case...
Comment 6 Frank Kruger 2023-06-17 13:16:10 UTC
Created attachment 159742 [details]
Kweather with mixed languages

I am experiencing the same issue with current openSUSE Tumbleweed (20230614) and kweather 23.04.2 (see attachment). The language package for DE (kweather.mo) exists in /usr/share/locale/de/LC_MESSAGES. Any idea?
Comment 7 Frank Kruger 2023-06-29 22:15:36 UTC
(In reply to Frank Kruger from comment #6)
> Created attachment 159742 [details]
> Kweather with mixed languages
> 
> I am experiencing the same issue with current openSUSE Tumbleweed (20230614)
> and kweather 23.04.2 (see attachment). The language package for DE
> (kweather.mo) exists in /usr/share/locale/de/LC_MESSAGES. Any idea?

I have just removed kweather, since there does not seem to be any maintenance or interest.
Comment 8 Frank Kruger 2023-08-27 10:51:58 UTC
(In reply to Nicolas Fella from comment #3)
> Created attachment 153558 [details]
> Works here
> 
> Works fine for me

Maybe I am mistaken, but aren't the translations in question like e.g. "Cloudy" commented out in kweather.po at https://invent.kde.org/utilities/kweather/-/blob/master/po/de/kweather.po?
Comment 9 Alois Spitzbart 2023-08-27 13:23:50 UTC
(In reply to Frank Kruger from comment #8)
> (In reply to Nicolas Fella from comment #3)
> > Created attachment 153558 [details]
> > Works here
> > 
> > Works fine for me
> 
> Maybe I am mistaken, but aren't the translations in question like e.g.
> "Cloudy" commented out in kweather.po at
> https://invent.kde.org/utilities/kweather/-/blob/master/po/de/kweather.po?

The translations for the strings are in https://invent.kde.org/libraries/kweathercore/-/blob/master/po/de/kweathercore5.po?ref_type=heads#L91
It is working for me, but when I change the language then I have to delete the location. When I add my location again, then it is working.
Comment 10 Frank Kruger 2023-08-27 14:21:26 UTC
(In reply to Alois Spitzbart from comment #9)
> (In reply to Frank Kruger from comment #8)
> > (In reply to Nicolas Fella from comment #3)
> > > Created attachment 153558 [details]
> > > Works here
> > > 
> > > Works fine for me
> > 
> > Maybe I am mistaken, but aren't the translations in question like e.g.
> > "Cloudy" commented out in kweather.po at
> > https://invent.kde.org/utilities/kweather/-/blob/master/po/de/kweather.po?
> 
> The translations for the strings are in
> https://invent.kde.org/libraries/kweathercore/-/blob/master/po/de/
> kweathercore5.po?ref_type=heads#L91
> It is working for me, but when I change the language then I have to delete
> the location. When I add my location again, then it is working.

Thank you for the explanation. It seems that upstream kweathercore 0.7 has a missing po dir: https://download.kde.org/stable/kweathercore/0.7/, which is the basis, e.g., for openSUSE's build. Version 0.6 works fine as far as the translation is concerned.