
The date of the last message needs more space in the forum list
-
- Won’t fix
-
Aethior -
September 25, 2023 at 5:44 PM
-
-
- Official Post
Unfortunately, there is no easy so solution for this, Spanish appears to be a bit too verbose here. The “long” variant generated by the ICU library is a lot longer than in other languages including but not limited to German and English. We cannot use the “short” variant because the result is less of a fit in other languages.
Increasing the column width is not an option either at this time because of the layout constraints that still exist there. We will take this into consideration for our planned overhaul of the thread list but for now there will be no change, I’m sorry.
-
Alexander Ebert
October 3, 2023 at 3:09 PM Added the Label Won’t fix -
Hi Alexander Ebert,
I think is more interesting in the future can to select the short o the long form from the API, rather than changing the column width. Yes, Spanish can be very verbose. When space is limited, we usually opt for forms such as 3 Oct. 2023, 15:16 or 03/10/2023, 15:16.
PostRE: Help with WoltLab Suite translation
Hi
[…]
Didn't see them yet, thanks for making me aware.
[…]
Not for WoltLab Suite 6.0. Generally speaking I wouldn't rule out using specialized formats in a future version depending on how the date/time is used. As an example, the JavaScript APIs provide a specialized API for rendering ranges that is smart about dropping redundant parts:
https://developer.mozilla.org/en-US/docs/Web…mat/formatRange
(Code, 4 lines)
Unfortunately that is not yet available for server-side rendering with PHP as far as I…Tim DüsterhusSeptember 27, 2023 at 12:07 PM -
- Official Post
I don’t know how we will solve this eventually because the short form is not necessarily the right choice in all places. We also cannot make the decision to use one variant or the other depending on the position and language – that would easily be a combinatorial explosion.
Given that we are now aware of the significant space requirements for dates in languages like Spanish we can address these by providing enough space in future layouts.
-
In the calendar, for example, the short option is the best option.
Being able to decide via the language file how each date should be handled does not seem a bad way. I don't know if this is possible with API/Libraries (in the future).
PostRE: Help with WoltLab Suite translation
[…]
Hi Tim,
I've been thinking about this use of dates... Does the API enforce the use of the full date?
In Spanish for short dates we can use 27 Sep. 2023 o 27 Sep. 2023, 11:37 and its use is 'accepted.'.
This would make a calendar event look like 27 Sep. 2023, 11:30 - 28 Sep. 2023, 21:00.
Much shorter than 27 de septiembre de 2023, 11:30 - 28 de septiembre de 2023, 21:00.
Edit. I attach test images.AethiorSeptember 27, 2023 at 11:38 AM -
- Official Post
Being able to decide via the language file how each date should be handled does not seem a bad way.
I can only imagine a general setting if the usage of the “long” format should be discouraged so that it will always use the “short” format. Everywhere.
-
Alexander Ebert
October 11, 2023 at 7:15 PM Moved the thread from forum Bug Reports to forum Resolved Bug Reports.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!