ZenphotoCMS Forum
Wrong language - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Translating (https://forum.zenphoto.org/forum-8.html)
+--- Thread: Wrong language (/thread-13657.html)



Wrong language - Sunville - 28-10-2021

When I submit a form, there is an error in the confirmation email. I have modified it in zp-core/locale/nl_NL/LC_MESSAGES/ zenphoto.po and zenphoto.mo

Now it displays the fields in the form in English and the confirmation email is also in English.

What's wrong?




Wrong language - acrylian - 28-10-2021

I suspect you are referring to a typo or otherwise wrong string in the Dutch translation? That would be something for @fretzl to answer.

Perhaps you didn't modify the translations files correctly? Did you actually enable Dutch? Does your server have Dutch locale?




Wrong language - Sunville - 28-10-2021

all the other text is in dutch just not the form fields and the comfirmation mail
Yes it was a typo: I ga akkoord met het opslaan en verwerken van mijn gegevens door deze website. instead of: Ik ga akkoord met het opslaan en verwerken van mijn gegevens door deze website.




Wrong language - acrylian - 28-10-2021

The confirmation texts are actually option texts you can define manually. If you use only one language anyway I would suggest to modify those texts directly.

There is a workaround implemented with these editable texts so defaults should be translated but that is a bit buggy.




Wrong language - Sunville - 28-10-2021

I've edited the text to correct the error.
In the files zenphoto.mo and zenphoto.po.
But since then he takes the English text instead of the Dutch for the form fields




Wrong language - acrylian - 28-10-2021

Probably because the strings don't match exactly anymore. gettext can be quite specific with this. Probably everything needs to be update properly. Did you use Poedit for this? Sorry no other idea. @fretzl will surely update typo later on.




Wrong language - fretzl - 28-10-2021

Thanks for finding the typo.
It's fixed in the Support build.