Dates on [[ku:Special:Notifications]]

For such cases:

  • Load the wiki page by using the parameter ?uselang=qqx appended at end of the page URL in the address bar of your webbrowser: instead of showing translated messages (or fallback messages in English), it shows the exact pagename of each message (the qqx is a private-use code used by MediaWiki for a fictive language, especially for that purpose)
  • Then use the search engine (at the top-right corner of the page) to locate the name of that message in the "MediaWiki" namespace.

Normally these messages are part of "echo" and "notification" messages; but they may also embed some generic date elements from Mediawiki core messages (notably for month names like "January", or abbreviation like "January" or "Jan", weekday names or abbreviations like "Monday" or "Mon", and timezone names): they are also used for dating posted messages in talk pages, or edits/action logged in the page or site history, or in various statistics page. Mediawiki provide date formatting via generic functions which can also be used via parser functions called within any wiki page. For example you can start at this message: January ("January") and follow the links found in the "Related" part of its doc page (showing table for the 12 months), and "Identical" part (for messages with identical month name in other translation projects).

You can use the search engine (or better the "translation search" which is also proposed at that time to improve the search and grouping by language) to locate these English messages like "January": their documentation page show a table in the "Related" box for month and weekday names/abbrevs (so tat you instantly see if they are completely and consistantly translated). Follow the link, and you're in the translate UI, and can see the documentation page of these messages.

Now if you want to adapt the date format, you can search for "DMY" or "YMD" or "M D, Y" in English, or whatever format you see in the Kurdish notification: locate the English message, then follow to Kurdish.

Verdy p (talk)23:24, 4 December 2022
Kurdish Wikipedia Screenshot of Echo (Uselang qqx)

@User:Verdy p uselang=qqx hasn't helped me (see screenshot). I have followed all the red links on Template:Identical/January and I'm hoping this will resolve my problem. If you know any other way, please do contact me.

Balyozxane (talk)01:18, 5 December 2022

Did you look at Template:Doc-months (which is included in the doc page for January) and Template:Doc-weekdays (also linked from the previous template and included in doc pages for weekday messages)? All these messages are part of the "MediaWiki core" message group (containing the ~500 most used messages of MediaWiki).

Verdy p (talk)01:30, 5 December 2022

Yeah, I did. Those are all translated. I found EDTF, maybe it has something to do with those?

Balyozxane (talk)09:26, 5 December 2022

According to your screenshot, these dates do not seem to be generated from MediaWiki messages, but from other internal libraries (part of PHP itself, or inside its own C/C++ dependencies?). If so, they are likely maintained in CLDR and imported later in those libraries, or integrated manually in those libraries. I have never seen these dates untranslated in languages I use. You may need to submit your question and screenshot in Phabricator, to know where they come, or if there's a need to modify the PHP code to support additional translations (e.g. if the PHP code just uses some PHP date formating function, such as those documented in the https://www.php.net/manual/en/datetime.formats.date.php extension or in https://www.php.net/manual/en/intldateformatter.format). I may be wrong, but EDTF was created much more recently than MediaWiki and PHP, and is unlikely to be used for those notifications and used as a dependency in MediaWiki.

Verdy p (talk)09:57, 5 December 2022