Bug 415958 - Changing language in Kstars
Summary: Changing language in Kstars
Status: RESOLVED FIXED
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: 3.3.4
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Rob
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-07 09:53 UTC by bansugoroku
Modified: 2022-01-23 04:17 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bansugoroku 2020-01-07 09:53:09 UTC
SUMMARY


STEPS TO REPRODUCE
1.  I haven't been able to change the language from English to Japanese.
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 10.15.2
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
A similar example can be found here.
https://forum.kde.org/viewtopic.php?f=139&t=151657
Comment 1 Jasem Mutlaq 2020-01-07 09:57:35 UTC
Are you using the official 3.3.9 stable version or nightly? Nightly does not have translations.
Comment 2 bansugoroku 2020-01-08 08:39:45 UTC
I downloaded it from here.
https://edu.kde.org/kstars/
Only US English can be selected in Switch Application Language ...
Comment 3 bansugoroku 2020-01-09 10:13:57 UTC
I am using the official 3.3.9 stable version.
Comment 4 luca nerli 2020-01-27 13:07:50 UTC
I should install kstars on mac mini 2010 with osx high sierra and I can't locate it in Italian. On other machines I had no problems. Macport and Homebrew are installed on the Mac Mini, but I can't find the right package to install. thanks for the help.
Comment 5 Rob 2020-01-27 20:17:23 UTC
Hi, sorry, the issue was that the Translations do not always build using the script, so for now I have to build the translations separately, and copy them into the folder to be included in the DMG.  In 3.3.9, I accidentally forgot to do that, so they did not get included.  However, I just built a new DMG and it should include translations.

www.indilib.org/jdownloads/kstars/beta/kstars-3.4.0.dmg
Comment 6 luca nerli 2020-01-27 22:55:59 UTC
Hi, I got it. I will wait for the new DMG, however thanks for the great work done, Kstars is a great software, congratulations. I will support you and disclose it among the fans of Astrophotography.

Nerli Luca
lunerli54@gmail.com
lunerl@alice.it
GAMP- Gruppo  Astrofili Montagna Pistoiese
3357286011
















> Il giorno 27 gen 2020, alle ore 21:17, Rob <bugzilla_noreply@kde.org> ha scritto:
> 
> https://bugs.kde.org/show_bug.cgi?id=415958
> 
> --- Comment #5 from Rob <rlancaste@gmail.com> ---
> Hi, sorry, the issue was that the Translations do not always build using the
> script, so for now I have to build the translations separately, and copy them
> into the folder to be included in the DMG.  In 3.3.9, I accidentally forgot to
> do that, so they did not get included.  However, I just built a new DMG and it
> should include translations.
> 
> www.indilib.org/jdownloads/kstars/beta/kstars-3.4.0.dmg
> 
> -- 
> You are receiving this mail because:
> You are on the CC list for the bug.
Comment 7 Andrew Evdokimov 2020-08-05 15:59:42 UTC
The issue is fixed in 3.4.0 and 3.4.1 releases but present again in 3.4.2 and 3.4.3. Actually the 'kstars.mo' files are missing from ~/Library/Application\ Support/locale/$LOCALE/LC_MESSAGES/ directories. Below is an output from comparing 3.4.2 and 3.4.1 'locale' directories. 3.4.3 'locale' directory has identical issue as 3.4.2. Copying 'kstars.mo' for selected language from 3.4.1 to 3.4.3 is a tested workaround however it's obvious that no translation updates will be arriving using this technique. Also it has been found that installing 3.4.1 and updating to 3.4.2 or 3.4.3 keeps 3.4.1's 'kstars.mo' files in place, thus this issue will only affect new users while those who upgrading are unlikely to notice it.

bash-3.2$ diff -qr locale.342 locale.341 | grep -i only
Only in locale.341/af/LC_MESSAGES: kstars.mo
Only in locale.341/ar/LC_MESSAGES: kstars.mo
Only in locale.342/ast/LC_MESSAGES: kdoctools5.mo
Only in locale.342/ast/LC_MESSAGES: ki18n5.mo
Only in locale.342/ast/LC_MESSAGES: kiconthemes5.mo
Only in locale.342/ast/LC_MESSAGES: kio5.mo
Only in locale.342/ast/LC_MESSAGES: knotifications5_qt.qm
Only in locale.342/ast/LC_MESSAGES: knotifyconfig5.mo
Only in locale.342/ast/LC_MESSAGES: kwidgetsaddons5_qt.qm
Only in locale.341/be/LC_MESSAGES: kstars.mo
Only in locale.341/bg/LC_MESSAGES: kstars.mo
Only in locale.341/bn/LC_MESSAGES: kstars.mo
Only in locale.341/br/LC_MESSAGES: kstars.mo
Only in locale.341/bs/LC_MESSAGES: kstars.mo
Only in locale.341/ca/LC_MESSAGES: kstars.mo
Only in locale.341/ca@valencia/LC_MESSAGES: kstars.mo
Only in locale.341/cs/LC_MESSAGES: kstars.mo
Only in locale.341/cy/LC_MESSAGES: kstars.mo
Only in locale.341/da/LC_MESSAGES: kstars.mo
Only in locale.341/de/LC_MESSAGES: kstars.mo
Only in locale.341/el/LC_MESSAGES: kstars.mo
Only in locale.341/en_GB/LC_MESSAGES: kstars.mo
Only in locale.341/eo/LC_MESSAGES: kstars.mo
Only in locale.341/es/LC_MESSAGES: kstars.mo
Only in locale.341/et/LC_MESSAGES: kstars.mo
Only in locale.341/eu/LC_MESSAGES: kstars.mo
Only in locale.341/fa/LC_MESSAGES: kstars.mo
Only in locale.341/fi/LC_MESSAGES: kstars.mo
Only in locale.341/fr/LC_MESSAGES: kstars.mo
Only in locale.341/ga/LC_MESSAGES: kstars.mo
Only in locale.341/gl/LC_MESSAGES: kstars.mo
Only in locale.341/gu/LC_MESSAGES: kstars.mo
Only in locale.341/hi/LC_MESSAGES: kstars.mo
Only in locale.341/hne/LC_MESSAGES: kstars.mo
Only in locale.341/hr/LC_MESSAGES: kstars.mo
Only in locale.341/hu/LC_MESSAGES: kstars.mo
Only in locale.341/is/LC_MESSAGES: kstars.mo
Only in locale.341/it/LC_MESSAGES: kstars.mo
Only in locale.341/ja/LC_MESSAGES: kstars.mo
Only in locale.341/kk/LC_MESSAGES: kstars.mo
Only in locale.341/km/LC_MESSAGES: kstars.mo
Only in locale.341/ko/LC_MESSAGES: kstars.mo
Only in locale.341/lt/LC_MESSAGES: kstars.mo
Only in locale.341/lv/LC_MESSAGES: kstars.mo
Only in locale.341/mai/LC_MESSAGES: kstars.mo
Only in locale.341/mk/LC_MESSAGES: kstars.mo
Only in locale.342/ml/LC_MESSAGES: kdbusaddons5_qt.qm
Only in locale.342/ml/LC_MESSAGES: kdoctools5.mo
Only in locale.341/ml/LC_MESSAGES: kstars.mo
Only in locale.342/ml/LC_MESSAGES: kwallet-query.mo
Only in locale.341/mr/LC_MESSAGES: kstars.mo
Only in locale.341/ms/LC_MESSAGES: kstars.mo
Only in locale.341/nb/LC_MESSAGES: kstars.mo
Only in locale.341/nds/LC_MESSAGES: kstars.mo
Only in locale.341/ne/LC_MESSAGES: kstars.mo
Only in locale.341/nl/LC_MESSAGES: kstars.mo
Only in locale.341/nn/LC_MESSAGES: kstars.mo
Only in locale.341/oc/LC_MESSAGES: kstars.mo
Only in locale.341/pa/LC_MESSAGES: kstars.mo
Only in locale.341/pl/LC_MESSAGES: kstars.mo
Only in locale.341/pt/LC_MESSAGES: kstars.mo
Only in locale.341/pt_BR/LC_MESSAGES: kstars.mo
Only in locale.341/ro/LC_MESSAGES: kstars.mo
Only in locale.341/ru/LC_MESSAGES: kstars.mo
Only in locale.341/se/LC_MESSAGES: kstars.mo
Only in locale.341/si/LC_MESSAGES: kstars.mo
Only in locale.341/sk/LC_MESSAGES: kstars.mo
Only in locale.341/sl/LC_MESSAGES: kstars.mo
Only in locale.341/sq/LC_MESSAGES: kstars.mo
Only in locale.341/sv/LC_MESSAGES: kstars.mo
Only in locale.341/ta/LC_MESSAGES: kstars.mo
Only in locale.342/tg/LC_MESSAGES: kdbusaddons5_qt.qm
Only in locale.341/tg/LC_MESSAGES: kstars.mo
Only in locale.342/tg/LC_MESSAGES: kwallet-query.mo
Only in locale.342/tg/LC_MESSAGES: solid5_qt.qm
Only in locale.341/th/LC_MESSAGES: kstars.mo
Only in locale.341/tr/LC_MESSAGES: kstars.mo
Only in locale.341/ug/LC_MESSAGES: kstars.mo
Only in locale.341/uk/LC_MESSAGES: kstars.mo
Only in locale.341/xh/LC_MESSAGES: kstars.mo
Only in locale.341/zh_CN/LC_MESSAGES: kstars.mo
Only in locale.341/zh_TW/LC_MESSAGES: kstars.mo
Comment 8 Rob 2022-01-23 04:17:12 UTC
I updated 3.5.7 to include the translations and at the same time I updated the KStars build so that it should include translations in all future versions without me having to remember to add them.