https://bugs.kde.org/show_bug.cgi?id=413390
Friedrich W. H. Kossebau <kosse...@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kosse...@kde.org --- Comment #5 from Friedrich W. H. Kossebau <kosse...@kde.org> --- (In reply to Karl Ove Hufthammer from comment #4) > (In reply to Nate Graham from comment #2) > > Do we have a way to mark a number as being a year or something? That could > > trigger logic to say, "Don't localize this number!" > > Yes. See > https://techbase.kde.org/Development/Tutorials/Localization/i18n_Semantics > > The relevant quote is: > > <numid> > By default, numbers supplied as arguments to i18n calls are formatted into > localized form. If the number is supposed to be a numeric identifier > instead, like a port number, use this tag to signal numeric-id environment. > i18nc("@info:progress", > "Connecting to <numid>%1</numid>...", portNo); Nope. this is pre-KF5 information. That page should get a note saying so. When using semantic markup (KDE User Interface Text = KUIT), one needs to use the xi18n call variants with KF5's KI18n API. See https://api.kde.org/frameworks/ki18n/html/prg_guide.html#kuit_markup It might be more simple though to just format the year as string using the respective QLocale date string methods and then pass this string as arg. -- You are receiving this mail because: You are watching all bug changes.