3

My app has an issue where pt_PT abbreviated names for [days of the week] were the full name and not the customary first 3 letters.

So instead of "domingo", I expected to see "dom".

In reality it's "domingo".

Is it always the case in pt_PT? In all instances?

0

1 Answer 1

4

Is it always the case in pt_PT? In all instances?

No. As the question itself states "[your] app has an issue" and one can find similar bug reports, e.g., here and here, which also list the expected results:

"Seg", "Ter", "Qua", "Qui", "Sex", Sáb", "Dom"

Lower case is also an option:

dom seg ter qua qui sex sáb

And other possibilities include:

a) Se, Te, Qa, Qi, Sx, Sa, Do.
b) 2ª, 3ª, 4ª, 5ª, 6ª, Sa, Do.

Though I should add that, while (b) is quite common, I've never seen (a) in use and I suggest avoiding it.

7
  • 1
    It's great that you found the ICU/CLDR bug reports about this! I tried but couldn't reproduce it on MacOS or Linux, so I figured that the bug had to be coming from some other library than the normal one those systems use. (This question feels a little bit like it would go on Stack Overflow em Português instead.)
    – tchrist
    Jul 25, 2022 at 14:15
  • @tchrist Now that you say it, it feels kind of obvious: Yes, it's probably not really about the language - on the other hand, the question is written in English... I'll if the OP clarifies it.
    – stafusa
    Jul 25, 2022 at 14:19
  • 1
    I think the question fits our site, even if pt.SO would be a better fit. The question itself boils down to "are there abbreviations for the weekdays?", which fits just fine here. :)
    – ANeves
    Jul 26, 2022 at 8:46
  • 1
    Hi @stafusa. My question is more about the language since I am not a PT speaker. I actually opened my own issue in ICU and was rejected. Had to understand why, since it didn't seem logical that the top IT companies voted in favor of leaving the current status que. It means that only pt_PT locale will have cut text in our app, in contrast with pt_BR which looks abbreviated "correctly"
    – o_w
    Jul 26, 2022 at 10:32
  • @o_w There is no difference between Iberian and Brazilian Portuguese here. Who is "our app"? Your company's app?
    – Lambie
    Jul 26, 2022 at 15:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.