Opened 15 months ago
Closed 15 months ago
#58793 closed defect (bug) (reported-upstream)
Weird translation on "Change publishing date" toggle
Reported by: | Rvervuurt | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 6.2.2 |
Component: | I18N | Keywords: | has-screenshots |
Focuses: | ui | Cc: |
Description
When using WordPress in Danish, something weird is happening when editing a post or page:
- The "Publish" time shows the day of the week (both English and Dutch don't)
- There's a
k
in front of the weekday and a dot (so it basically says kmonday, ktuesday etc.).
I've looked in the translation files, but couldn't find anything with "ktirsdag", so I have no idea where this is coming from.
It would make more sense if the Danish date was structured like this:
date. month time/year
(notice the dot after date, it means th/nd
in Danish).
Could be nice to get this fixed quickly, because it looks kinda weird when customers see the "Publish"-date and it says the weekday wrong.
Attachments (1)
Change History (5)
#2
@
15 months ago
The 'k' comes from "kl." for "klokken", which was not correctly escaped, see:
https://translate.wordpress.org/projects/wp/dev/da/default/?filters%5Bstatus%5D=waiting
And before you ask, I don't speak a word danish.
#3
@
15 months ago
Hello
Thank you for the feedback @Rvervuurt
Looks like @Presskopp made the necessary changes to make it work.
post schedule date format without year
- F \k\l. G:i - gives the output - 14. juli kl. 12:20
post schedule full date format
- F Y \k\l. G:i - gives the output - 14. juli 2023 kl. 12:24
I'll approve the translation and see if it doesn't work nicely in wp-admin too.
Hi and welcome to WordPress Core Trac!
Danish has two strings with a k in the date format, and you could recommend changes to both (expand each by clicking the Details link). Maybe those only need to remove the k, but it would help to verify that the rest follows the correct datetime format, too.