Created attachment 146980 [details] Localization bug SUMMARY Latte dock 0.10.8 is not properly localized, previous versions were correctly shown in my language (italian), while now it's in english. SOFTWARE/OS VERSIONS OS: Kubuntu 21.10 KDE Plasma Version: 5.24.1 KDE Frameworks Version: 5.91.0 Qt Version: 5.15.2
this is not latte fault... make sure that: right click dock -> Configure Latte... -> Help -> Configure Language your languages are configured properly. If this is not the case then you need to contact the Italian locatization team for help.
Created attachment 147016 [details] Language Only english is available and it doesn't let me add any other language.
You haven't installed languages then. How did you install Latte?
Created attachment 147027 [details] Installed languages Of course I've installed languages, my system is entirely in italian, I've installed Latte by compiling it from source. With previous versions of both Latte and KDE Plasma I've had installed it from source too and it was in italian without doing any extra configuration.
When you install Latte by yourself, translations of latte are not installed by default of course. If I remember correctly it is, sh install.sh --include-translations you can check in install.sh to find the exact parameter to use.
Ok, I will try soon and let you know.
Created attachment 147065 [details] install.sh I've tried now adding the parameter "--translations-stable" as mentioned in install.sh file, but when compiling it said that it was an unexpected operator e when it finished nothing changed, it's still in english. Do you think that if I try again without adding any parameter but changing the line in the else condition from "-DKDE_L10N_AUTO_TRANSLATIONS=OFF" to "-DKDE_L10N_AUTO_TRANSLATIONS=ON" it would work? Anyway, I am 100% sure that with previous versions I didn't have to add any parameter at all, just doing "sh install.sh" was enough to have it in italian.
Or maybe if I replace the entire "else" section with the contents of the "elif" section it would do the trick?
Created attachment 147066 [details] Possible solution? I mean like this. Before proceeding I'll wait for your reply.
You need help in installing and this is no help forum. You can try to ping your distro forums and packagers.
You apparently don't understood man, it is a problem with your script that it doesn't recognize it's own arguments. In fact, if I append the "--traslations" argument, this is the output I get: daniele@Daniele-HP:~/Documenti/Latte_Layouts/latte-dock-0.10.8$ sh install.sh --translations install.sh: 12: [: --translations: unexpected operator install.sh: 12: [: unexpected operator install.sh: 16: [: -a: unexpected operator install.sh: 22: [: -a: unexpected operator install.sh: 25: [: -a: unexpected operator install.sh: 29: [: --translations: unexpected operator install.sh: 32: [: --translations: unexpected operator I repeat that with previous versions I didn't have this problem at all, and of course before compiling I have installed all the dependencies, both with this version and previous ones.
(In reply to aliquo93 from comment #8) > Or maybe if I replace the entire "else" section with the contents of the > "elif" section it would do the trick? no, not installing translations by default is intentional
(In reply to Michail Vourlakos from comment #12) > (In reply to aliquo93 from comment #8) > > Or maybe if I replace the entire "else" section with the contents of the > > "elif" section it would do the trick? > > no, not installing translations by default is intentional I’ve tried anyway, but at the time of fetching translations it reports another error, give me some minutes and I’ll post it.
(In reply to aliquo93 from comment #13) > (In reply to Michail Vourlakos from comment #12) > > (In reply to aliquo93 from comment #8) > > > Or maybe if I replace the entire "else" section with the contents of the > > > "elif" section it would do the trick? > > > > no, not installing translations by default is intentional > I’ve tried anyway, but at the time of fetching translations it reports > another error, give me some minutes and I’ll post it. fetching translations script is not latte responsibility but kde frameworks... post it any way in any case...
(In reply to Michail Vourlakos from comment #14) > (In reply to aliquo93 from comment #13) > > (In reply to Michail Vourlakos from comment #12) > > > (In reply to aliquo93 from comment #8) > > > > Or maybe if I replace the entire "else" section with the contents of the > > > > "elif" section it would do the trick? > > > > > > no, not installing translations by default is intentional > > I’ve tried anyway, but at the time of fetching translations it reports > > another error, give me some minutes and I’ll post it. > > fetching translations script is not latte responsibility but kde > frameworks... post it any way in any case... Here's the output: Scanning dependencies of target fetch-translations [100%] Fetching releaseme scripts to download translations... Clone in 'releaseme' in corso... remote: Enumerating objects: 293, done. remote: Counting objects: 100% (293/293), done. remote: Compressing objects: 100% (225/225), done. remote: Total 293 (delta 29), reused 261 (delta 21), pack-reused 0 Ricezione degli oggetti: 100% (293/293), 148.76 KiB | 982.00 KiB/s, fatto. Risoluzione dei delta: 100% (29/29), fatto. [100%] Downloading translations for lattedock branch trunk... Già aggiornato. Found 0 elements for lattedock make[3]: *** [CMakeFiles/fetch-translations.dir/build.make:80: CMakeFiles/fetch-translations] Errore 1 make[2]: *** [CMakeFiles/Makefile2:1009: CMakeFiles/fetch-translations.dir/all] Errore 2 make[1]: *** [CMakeFiles/Makefile2:1016: CMakeFiles/fetch-translations.dir/rule] Errore 2 make: *** [Makefile:194: fetch-translations] Errore 2
Since a few months ago the translations, which are handled outside the repositories of KDE software, are injected back inside the code repositories every day ( https://invent.kde.org/plasma/latte-dock/-/tree/master/po ), so no additional fetching should be needed. Can you please confirm that?
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!