Properties translation - Some single quotes are removed from the UI
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 564
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 29
Description
What steps does it take to reproduce the issue?
Use single quotes (') in the values for some properties.
-
When does this issue occur?
Only for some keys in the property files. Maybe for translations parsed as HTML? -
Which page(s) does it occurs on?
Observed on the login page but it is not the only case. -
What happens?
Quotes in the property files can disappear in the UI. For example, in the frenchBundle.propertieswe have this:
login.signup.blurb=<a href="{0}">S'inscrire pour obtenir un compte Dataverse</a>.However the wordS'inscrirebecomesSinscrirein the UI (see screenshot). -
To whom does it occur (all users, curators, superusers)?
All users -
What did you expect to happen?
The quote should not disappear. It seems that this issue is fixed by using double single quotes instead ('') in the properties involved, as observed in some en_US files. It might be a known issue but it makes it hard to work on the translations since we are not sure when to use double single quotes or single quotes (is there a list somewhere for that?). When working on the translations it is also hard to know if it is a typo or intentional.
Which version of Dataverse are you using?
5.10
Any related open or closed issues to this bug report?
No
Screenshots:
- On the login page:

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the French Bundle.properties entry for login.signup.blurb and reproduce the issue on the login page. Trace how that property is parsed and rendered, then verify that the apostrophe in “S'inscrire” remains visible and clarify when single or doubled apostrophes are required.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- localization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100