Last seen Grammar problem German

Deutsche Übersetzung
Post Reply
User avatar
Lord von Smith
Posts: 8
Joined: 15 December 2020, 22:03

Last seen Grammar problem German

Post 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.
User avatar
cigma
Posts: 904
Joined: 15 December 2020, 00:30

Re: Last seen Grammar problem German

Post 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.
#zan_zendegi_azadi / #woman_life_freedom
#StandWithUkraine
Language is a source of misunderstanding. (Antoine de Saint-Exupery: The Little Prince) But it is also the source of understanding - it all depends on how you use it. :-)
User avatar
Een
Posts: 3854
Joined: 16 June 2010, 19:52

Re: Last seen Grammar problem German

Post 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).
User avatar
cigma
Posts: 904
Joined: 15 December 2020, 00:30

Re: Last seen Grammar problem German

Post 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?
#zan_zendegi_azadi / #woman_life_freedom
#StandWithUkraine
Language is a source of misunderstanding. (Antoine de Saint-Exupery: The Little Prince) But it is also the source of understanding - it all depends on how you use it. :-)
User avatar
Een
Posts: 3854
Joined: 16 June 2010, 19:52

Re: Last seen Grammar problem German

Post 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.
User avatar
cigma
Posts: 904
Joined: 15 December 2020, 00:30

Re: Last seen Grammar problem German

Post by cigma »

Sounds even better! Thank you :-)
#zan_zendegi_azadi / #woman_life_freedom
#StandWithUkraine
Language is a source of misunderstanding. (Antoine de Saint-Exupery: The Little Prince) But it is also the source of understanding - it all depends on how you use it. :-)
Post Reply

Return to “Deutsch - de”