Hello, it looks like months in the Forgetting Curve graph cannot be translated in Pontoon.
I would suspect those are coming out of some sort of “calendar” toolkit/library, but I’m surprised it doesn’t have its own localization.
Can you compare that to somewhere else that has dates, like Stats > Calendar? Check out the initials for the days of the week and the date when you hover over a day. I think those usually show up localized, but I know we don’t translate the months manually. ![]()
The rest of the Card Info screen is translated. It is possible the graph is some library and must be translated in the upstream. In this case, a hint where to translate it would be appreciated.
The issue is that d3 (the graph library) has its own way of handling formatting / internationalisation that is separate from the normal fluent translations that you write in Pontoon.
At the moment none of this has been set up for “Forgetting Curve” so it is just defaulting to “en-US”. I haven’t checked any of the other graphs, but I suspect it has not been set up for them either. I remember people talking about the number formats being wrong on the stats graphs in different locales.
I’m guessing you are translating into Czech. If so, there is already a “cs-CZ” locale in d3-time-format:
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
