I believe the month abbreviations come directly from Java based on the locale – they aren’t in Dataverse’s language files. The locale used is either from your machine or Java, or from the list you add when using https://guides.dataverse.org/en/latest/installation/config.html#adding-multiple-languages-to-the-dropdown-in-the-header. You should be able to find info on how to see/change your locale on the Internet – I saw https://jarirajari.wordpress.com/2020/11/23/how-to-set-locale-in-linux-for-jvm/ for example. (FWIW: The only language I see Ebr as a month abbreviation in is Welsh – from https://web.library.yale.edu/cataloging/months).
Hope that helps,
-- Jim
From: 'Rondineli Gama Saad' via Dataverse Users Community <dataverse...@googlegroups.com>
Sent: Wednesday, June 12, 2024 1:09 PM
To: Dataverse Users Community <dataverse...@googlegroups.com>
Subject: [Dataverse-Users] The Portuguese language pack does not work for the date field
Hello,
Since we updated Dataverse to version 5.14 (https://data.scielo.org), the Portuguese language in the field where the dataset was created was disconfigured (the image is attached). I've already tried
reinstalling the language and the same problem happens. You can see in the image bellow the month abreviation to February (Fevereiro). The correct abreviation is Fev.
The english idiom package is working perfectly.
To update the language I did the following:
git clone
https://github.com/GlobalDataverseCommunityConsortium/dataverse-language-packs.git
cd dataverse-language-packs
git checkout dataverse-v5.14
rm -Rf /tmp/languages
mkdir /tmp/languages
cp -R en_US/*.properties /tmp/languages
cp -R pt_BR/*.properties /tmp/languages
cd /tmp/languages
zip languages.zip *.properties
curl http://localhost:8080/api/admin/datasetfield/loadpropertyfiles -X POST --upload-file /tmp/languages/languages.zip -H "Content-Type: application/zip"
/usr/local/payara5/bin/asadmin stop-domain && /usr/local/payara5/bin/asadmin start-domain
Can anyone help me with this?
Best Regards,
Esta mensagem pode conter informação confidencial, sendo seu sigilo protegido por lei. Se você não for o destinatário ou a pessoa autorizada a receber esta mensagem, não pode usar, copiar ou divulgar as informações nela contidas ou tomar qualquer ação baseada
nessas informações. Se você recebeu esta mensagem por engano, por favor, avise imediatamente ao remetente, respondendo o e-mail e em seguida apague-a. Agradecemos sua cooperação.
This message may contain confidential information and its confidentiality is protected by law. If you are not the addressed or authorized person to receive this message, you must not use, copy, disclose or take any action based on it or any information herein.
If you have received this message by mistake, please advise the sender immediately by replying the e-mail and then deleting it. Thank you for your cooperation.
--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
dataverse-commu...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/dataverse-community/3f33e7e4-a2e8-463e-9fdf-4d01214e22c9n%40googlegroups.com.
/usr/local/payara6/glassfish/domains/domain1/applications/dataverse-6.1/WEB-INF/faces-config.xml
change: en => pt (pref label)
Your language need to be "pt", not "br"
==> Bundle_pt.properties
To apply Restart the Payara
You received this message because you are subscribed to a topic in the Google Groups "Dataverse Users Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dataverse-community/JmpduSHoHos/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dataverse-commu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/SN6PR19MB2271A227F53CE361606E35D8BFC22%40SN6PR19MB2271.namprd19.prod.outlook.com.