Hi Michael, that's odd and I don't have an explanation, but glad you could work it out! Katrin On 18.11.22 15:59, mik@vtxmail.ch wrote:
Hi Katrin
Thanks for your message! You wrote:
did you check if the necessary files were all created? If the translations weren't created, that could explain why the GUI language didn't switch and why you have entries missing.
$ sudo koha-translate --list de-DE
The content of "/usr/share/koha/intranet/cgi-bin/installer/data/mysql/de-DE" is the following and looks the same as in other installations I have access to.
mandatory: -rw-r--r-- 1 root root 92865 17. Nov 21:13 auth_values.yml -rw-r--r-- 1 root root 1816 17. Nov 21:13 class_sources.yml -rw-r--r-- 1 root root 1644 17. Nov 21:13 sample_frequencies.yml -rw-r--r-- 1 root root 59123 17. Nov 21:13 sample_notices.yml -rw-r--r-- 1 root root 2092 17. Nov 21:13 sample_numberpatterns.yml
marcflavour: drwxr-xr-x 4 root root 4096 17. Nov 21:13 marc21 drwxr-xr-x 4 root root 4096 17. Nov 21:13 unimarc
optional: -rw-r--r-- 1 root root 6518 17. Nov 21:13 auth_val.yml -rw-r--r-- 1 root root 1486 17. Nov 21:13 csv_profiles.yml -rw-r--r-- 1 root root 10988 17. Nov 21:13 marc21_holdings_coded_values.yml -rw-r--r-- 1 root root 18262 17. Nov 21:13 marc21_relatorterms.yml -rw-r--r-- 1 root root 394 17. Nov 21:13 parameters.yml -rw-r--r-- 1 root root 427 17. Nov 21:13 patron_atributes.yml -rw-r--r-- 1 root root 4628 17. Nov 21:13 patron_categories.yml -rw-r--r-- 1 root root 5872 17. Nov 21:13 sample_creator_data.yml -rw-r--r-- 1 root root 1302 17. Nov 21:13 sample_itemtypes.yml -rw-r--r-- 1 root root 545 17. Nov 21:13 sample_libraries_holidays.yml -rw-r--r-- 1 root root 1158 17. Nov 21:13 sample_libraries.yml -rw-r--r-- 1 root root 1838 17. Nov 21:13 sample_news.yml -rw-r--r-- 1 root root 51749 17. Nov 21:13 sample_patrons.yml -rw-r--r-- 1 root root 8149 17. Nov 21:13 sample_quotes.yml -rw-r--r-- 1 root root 1802 17. Nov 21:13 sample_z3950_servers.yml
If you select English, everything looks normal?
No, it looks exactly the same when in menu "Choose your language" using "en" instead of "de-DE".
You also wrote:
I tried running the translation on my dev environment for 22.05 and the translation script didn't show an error with the po files. So far so good. I then also ran through the web installer: the interface language switched and all options appeared.
If the installation of de-DE didn't finish correctly, you might find that the files are missing in installer/data/mysql/de-DE.
They seem to be there (see above).
I'd try uninstalling de-DE and reinstalling, maybe it will help. Aleisha posted on some issues with the translations the other day, wonder if this could be related?
I removed de-DE:
$ sudo koha-translate --remove de-DE
Now "sudo koha-translate --list" didn't show anything anymore. But the files (as shown above) are still there.
I then tried again using the webinstaller to populate the database tables but nothing has changed.
Then I removed the complete Koha instance, created it again and reinstalled "de-DE". I had to remove the cookies for the webinstaller to get access to the original webinstaller login. Again I chose "de-DE" as the language. For whatever reason now the language turned to German and everything went and looked as it should.
Thanks for your help!
Best wishes: Michael