Page 1 of 1

Last seen Grammar problem German

Posted: 26 December 2021, 11:21
by Lord von Smith
This could easily be fixed:

"Last seen %s months ago" (referring to when a player was last online) doesn't seem to have its own text block. Instead the parts are translated separately, which doesn't work.
The German version should read "Zuletzt gesehen vor %s Monaten", but the last n is missing due to "%s months" being its own block and "%s Monate" without the n being correct in some places.

Re: Last seen Grammar problem German

Posted: 28 December 2021, 02:27
by cigma
I have just changed it to "%s Monat(en)" - also saving the problem for 1 month. And "%s Tag(en)" for the days as well. Let's see if it comes out correctly now.

Re: Last seen Grammar problem German

Posted: 28 December 2021, 17:13
by Een
I had noted this from this thread viewtopic.php?f=419&t=22467&p=102699
It will be fixed for next release (and was not especially easy; please don't assume anything is easy: internationalization in general is pretty hard, and always imperfect).

Re: Last seen Grammar problem German

Posted: 29 December 2021, 13:04
by cigma
Thank you for your efforts on this problem, een! Is it possible to create different texts for 1 day / 1 month / 2-n days / 2-n months?

Re: Last seen Grammar problem German

Posted: 29 December 2021, 16:45
by Een
Actually we reworked this to use a specific internationalization function (if you are technically inclined: Intl.RelativeTimeFormat). So now all forms should hopefully be correct, without the need for new input from translators.

Re: Last seen Grammar problem German

Posted: 31 December 2021, 18:16
by cigma
Sounds even better! Thank you :-)