-
Notifications
You must be signed in to change notification settings - Fork 55
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
Translating date #192
Comments
Ah yes, you're right. I totally forgot about these dates. |
Hi @Pafzedog , so I just had some time to look into this. Fortunately one library in use, ryannhg/date-format, already had translations for French, which I took. But this only applies to the date components, like month name and weekday name. The date pattern is left as is, because (sadly) I don't know French…. So … could you maybe have a look at this? It is in |
ok, for french language we have to put day name before month name, I think also that comma between month and year is not needed and replacing comma after day of week by a dot is more "in the rules" of the language for an abbreviation. Something like this
|
After a better look to french translation in this library, I think I don't agree with the author about dayOfMonthSuffix. |
Ah ok, thanks! Good is, we can just change it in sharry. So, if I understand correctly, it should read like this: toFrenchOrdinalSuffix : Int -> String
toFrenchOrdinalSuffix n =
if n == 1 then
"er"
else
"" ? Do you maybe want to do this change? (so I don't take credit that is not mine) But I can change this, of course, if you want. |
It's perfect like that. |
Sure :-) Thank you a lot! |
Hi,
it would be nice if date (Created, published on, etc ...) could be translated too.
thanks
The text was updated successfully, but these errors were encountered: