Fluent strings with `SHORTDATE()` reimported and showing up broken as `{�}`
Open
Nobody has claimed this yet.
hours
P2
regression
- Dominant language
- Python
- Stars
- 1.7k
- Forks
- 611
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 49
Description
The string in question is { SHORTDATE($date) }.
In the UI I see
<mark class="placeable" data-match="{�}" title="Placeholder">{�}</mark>
It also shows up as imported 1 day ago, when the string didn't really change.
It happens across locales
https://pontoon.mozilla.org/it/firefox-profiler/app.ftl/?string=243174
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 by reproducing the linked Pontoon string across locales and inspect how the Fluent string containing SHORTDATE($date) is imported and rendered. Done means the placeholder no longer becomes {�} in the UI and an unchanged string is not reported as newly imported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- localization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100