Stream: troubleshooting

Topic: translation not working


view this post on Zulip Adília Isabel Domingues da Cruz Alves (Oct 17 2024 at 09:03):

Good morning.
I have an important doubt about translation.
When I see the layout the label 'Advanced Search' continues in english but in 'Bundles_pt.properties' it is translated. This properties file was already imported to dataverse. Why is this happening? Thanks in advance.
dataverse_portugues.jpg

view this post on Zulip Philip Durbin 🚀 (Oct 17 2024 at 10:16):

@Adília Isabel Domingues da Cruz Alves you know, I was just telling @Omer M Fahim that I haven't gotten translations working in a while but recently he and @Steven Winship did for a pull request (#10158). Let's ask them. It's a bit complicated! :sweat_smile:

view this post on Zulip Philip Durbin 🚀 (Oct 17 2024 at 11:07):

@Adília Isabel Domingues da Cruz Alves you mentioned 5.12.1 before. That means you're following this, right? https://guides.dataverse.org/en/5.12.1/installation/config.html#internationalization

view this post on Zulip Omer M Fahim (Oct 17 2024 at 12:55):

yeah, when I tried to get translation to work, I could get up to the step where we show the language appearing as a selection option on subnav but when i selected "French", the page wouldn't translate for me. So I couldn't install languages correctly. I can follow up with Steve on the issue at hand and see if he has any inputs.

view this post on Zulip Philip Durbin 🚀 (Oct 17 2024 at 12:56):

Thanks. Also, we can create an issue to improve the documentation, if necessary.

view this post on Zulip Omer M Fahim (Oct 17 2024 at 13:42):

@Adília Isabel Domingues da Cruz Alves dataverse.search.advancedSearch=Advanced Search

is in our bundle.properties. Can you please provide your copy of Bundles_pt.properties?

view this post on Zulip Omer M Fahim (Oct 17 2024 at 19:27):

Additionally, can you please check your check their log file.If it's not configured correctly there will be a warning. We tried installing Portuguese on our local and it worked.
https://guides.dataverse.org/en/latest/installation/config.html#languages

view this post on Zulip Adília Isabel Domingues da Cruz Alves (Oct 18 2024 at 08:08):

Exactly Philip those are the instructions I am following.
Thanks.

notificações do Zulip <noreply@zulip.com> escreveu (quinta, 17/10/2024 à(s)
12:17):

view this post on Zulip Philip Durbin 🚀 (Oct 18 2024 at 08:56):

@Adília Isabel Domingues da Cruz Alves ok. Did you see the questions by @Omer M Fahim above?

view this post on Zulip Adília Isabel Domingues da Cruz Alves (Oct 18 2024 at 10:48):

My bundle_pt.properties file has the property
'dataverse.search.advancedSearch=Pesquisa Avançada', so it is OK. But, when
I load the languages.zip file into my Dataverse Installation, it does not
work (Advanced Search continues in english). Where can I see a dataverse
log about this translation process.

notificações do Zulip <noreply@zulip.com> escreveu (sexta, 18/10/2024 à(s)
10:06):

view this post on Zulip Philip Durbin 🚀 (Oct 18 2024 at 10:52):

Can you please upload your languages.zip file here?

view this post on Zulip Adília Isabel Domingues da Cruz Alves (Oct 18 2024 at 13:00):

Yes, of course I can. Thank you for your precious help.

notificações do Zulip <noreply@zulip.com> escreveu (sexta, 18/10/2024 à(s)
12:02):

languages.zip

view this post on Zulip Omer M Fahim (Oct 18 2024 at 13:39):

@Adília Isabel Domingues da Cruz Alves here is the log file that would conain the warning: /opt/dvn/app/payara6/glassfish/domains/domain1/logs/server.log

its on the app server

view this post on Zulip Philip Durbin 🚀 (Oct 18 2024 at 19:52):

I just tested setting up English and French in Docker and it worked for me. Please see #10940.


Last updated: Oct 30 2025 at 06:21 UTC