"Včera" (yesterday) is localized. However, I would expect "Pondělí" instead of "Monday". Wiki: cswiki; interface language: Czech (cs).
Day names should be capitalized. I think that applies to all Roman languages.
At least, in French, if day names are at the beginning of a sentence they have to capitalized; when they are included into the sentence, they are not capitalized anymore (unlike it is in English).
I could use a language expert's opinion here @Amire80 :
The problem is this: We are using pre-existing day name translations in our Special:Notifications page to separate groups of notification by days. Some of those messages, in some languages, are not capitalized - which looks weird to us. However, I think that capitalization is probably a language dependent issue, right? I assume not all languages capitalize day names at all.
However to that, though, is it possible that the translations we're using were meant to be used in the middle of a sentence, so their capitalization wasn't taken into account as if they're their own sentence?
So, bottom line -- is it okay for us to continue using these messages for the Special:Notifications case, each day displayed as a title to a notification group -- or do we need to create a series of new messages and specifically state that they are both day names and titles for a group?
I may have misunderstood, but in our last conversation about this, it was pointed out that capitalizing day names and dates is not the custom for all languages - that's why I wanted to check this.
I can add the css rule to automatically capitalize all those titles, if we decide that's what we wanted to do - but it wasn't clear whether this would fix this bug or "just" shift it to look weird in other languages. I was waiting for an answer from the language team.
Don't capitalize. Let the translators do it.
I am not sure that this is the case hrre, but if a word can appear both in the beginning and the middle of a sentence, it should be in different messages anyway.
if a word can appear both in the beginning and the middle of a sentence
Thanks @Amire80. That's not the case here.
The question here is, if the word giovedi (Thurs) is not capitalized in Italian, that's fine. But when we list it at the beginning of a line over a group of messages, as a title for that group, it can be capitalized, right?
I presume this happens programmatically, rather than in the translation, but I'm not sure. @Mooeypoo, I'm trying to help resolve this but I'm afraid I don't understand what the sticking point is.
It shouldn't happen programmatically. Most alphabets don't have case at all, and in those that do the rules differ. It is better left to translators. Message that is used as a title should be separate, and say that it's a title in its qqq documentation.
Is this still true for dates, though? These are dates we are getting from MomentJS... Aren't they supposed to be titles already?
We are working with day names that come from MomentJS and are meant to be dates. Given that, I would expect them to be ready-made for the date-title we use them for, but maybe they're not.
So we have two options:
- Leave things as-is (because momentJS is the way dates are front-end, consistently, in MW, and if we change translation it should change in all of the instances anyways)
- For day-names, not use MomentJS, and instead create our own i18n messages for day names, stating clearly that they are titles.
Honestly, I'm for #1. I think this is a consistency issue, and we're using moment - a library that's meant for that - so if there's anything to fix, it should be there.
Then again, I'm not clear if our usage is different than other usages of the library in MW. If so, we could go with #2, it would just mean another potential layer of duplication of messages and waiting for translations.
Checked in betalabs
- The screenshot for uselang=cs (the lang for which the issue was filed): "Pondělí"(Monday) is displayed in Czech. It's capitalized.
Comparing to Russian lang - the day of the week (the first word) is capitalized and months names are not capitalized which actually follows Russian grammar rules for titles' capitalizations.
Leave things as-is (because momentJS is the way dates are front-end, consistently, in MW, and if we change translation it should change in all of the instances anyways).
Also, I agree with @Amire80's statement that there are many languages that
- do not use capitalization at all
- have different rules for general capitalization
- have different rules for capitalization in titles
And, of course, capitalization of weekday and month names depends on the date format that a specific wiki uses.
To summarize: the filed issue is resolved; other issues with capitalization should be solved on case per case base.