-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i18n support of the weekdays in Dates #5421
Comments
AFAIK this isn't a translation error, but rather a restriction in what can be translated. The translation-files doesn't support translating how weekday names are rendered. I've translated Logseq to Norwegian, and the same issue is present there. I would also like this to be possible, so I hope the devs can provide some insight and what plans they have to support more complete translations. |
Supporting this issue. It would be great to be able to translate the weekday names. |
Since I've received an email warning me that the issue would be automatically closed in 20 days without activity, I'm leaving a me-too comment to confirm that I'm still having this issue using the French translation on Logseq (Flathub version on Fedora Silverblue 37). |
Translated weekdays would indeed be highly appreciated, especially after |
@bogenschlag The buggy case happens when using There should be some work-around. Investigation is welcome. I would suggest allowing customize the formatter for display (timestamp -> string for display) only, to avoid the parsing issue. |
Is there already a separate issue for changing the format of dates and translating the months' names, especially in journals? |
@einmeterhecht no other ticket AFAIK |
I don't understand exactly the issue, wouldn't be a way to "add" a string before the date? I think there's a plugin that adds a calendar icon, maybe there could be a script that adds the weekday following some rule (if weekday of {date} is X, then show this word). Why is this so hard to implement? |
The issue is that weekdays before the dates in the daily log are always written in English no matter what Logseq language is set. I guess it is only seen by non English Logseq users 🙃 |
Sorry for any inconvenience caused, @elkrause. Some changes need to be made in the underlying part as "date link text" should also be written in the corresponding language/format. JavaScript has a nice data API, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#examples . It supports almost any date format from any calendar. Another approach is to split the display date and storage date. CC @xyhp915 |
Hm. IMHO it is essential to have native language support in such an key software as logseq. Please implement a proper language handling for dates in journal soon. |
thank you @jn64 the thread title should include "days of the week" |
As a non-native english speaker, I do also believe it to be an essential feature the option of displaying the names for the days of the week in the user's respective language.
And I do agree with @punkyard. Seeking this issue, I searched precisely for "days of the weak", but to no avail. (It then ocurred me to look for "weekday".) |
What happened?
Hi! I have changed to German language in the editor settings, but still the day of the week in the journal is in English. Also when I select a date with the date picker the day name is in English.
Reproduce the Bug
Just open the editor
Expected Behavior
I would expect the German names of the weekdays (Montag, Dienstag, ...)
Screenshots
Desktop Platform Information
Windows 10, Logseq 0.7.0
Mobile Platform Information
iOS 15.5, Logseq 0.6.9
Additional Context
No response
The text was updated successfully, but these errors were encountered: