Actually nothing changed, the above code should work although the last "news" is actually wrong as that is a boolean parameter:
https://docs.zenphoto.org/1.6.1/namespaces/default.html#function_printRelatedItems
Hi,
could you tell me which file from the support build I need to use?
When using the support built as a fresh install, the completed Backend is in english first and all plugins have english messages like the contact form
(send copy instead of Kopie senden etc).
Changing the language in the settings does not change the text. It stays english.
Normally you should not use just files from a support build but the support build in total because of dependencies in numerous files. Regarding related items and the early stage of 1.6.2a you can just use the plugin files
Regarding the language. Please use a separate topic. "1.6" is pretty generic - it's even about 1.6.1 ;-) - and this is a general topic.
Please see: https://www.zenphoto.org/news/problems-with-languages/
Also this may still apply: https://www.zenphoto.org/news/translations-gettext-not-working-on-some-servers/
If using MAMP 6.8 locally gettext does not work using PHP 8.2 for unknown reasons on the MAMP vendor knows. It otherwise works including our own server.
Thanks for your answer - what makes me wondering:
The language works without problems with the official build.
When setting the username/password after the install I see different language flags at the bottom (german, netherland, english).
With the support built it is only the english/american flag.
Anyway: I only need the related items plugin :-)