[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: Help needed: staying flexible with copyright years span string
From:       "Friedrich W. H. Kossebau" <kossebau () kde ! org>
Date:       2019-10-29 11:47:25
Message-ID: 2697094.L7Bz8JDb32 () klux
[Download RAW message or body]

Hi Albert,

Am Dienstag, 29. Oktober 2019, 01:17:34 CET schrieb Albert Astals Cid:
> El dilluns, 28 d'octubre de 2019, a les 21:07:23 CET, Friedrich W. H. 
Kossebau va escriure:
> > Hi,
> > 
> > over in KDevelop camp we have a challenge to solve: to not break string
> > freeze in a stable branch when a new year is reached, the copyright
> > string in the> 
> > About data currently is set like this:
> >     i18n("Copyright 1999-%1, The KDevelop developers", 2019)
> > 
> > Which (at least with latest KDE Frameworks) results in bogus strings in
> > some locales, as the number 2019 is displayed e.g. with thousand
> > separator, e.g. in German resulting in
> > 
> >     "Copyright 1999-2.019, Die KDevelop-Entwickler"
> > 
> > (cmp. https://bugs.kde.org/show_bug.cgi?id=413390)
> > 
> > Any recommendations what to do to still stay flexible WRT string freeze,
> > but insert a correctly localized year number?
> 
> i18n("Copyright 1999-%1, The KDevelop developers", "2019")
> 
> is what you want, no?

This is a variant of my question, if just passing in a string based on arabic 
numerals noting a year following the Gregorian calendar works for all 
localizations.

Cheers
Friedrich




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic