Semantic marking for i18n

Olivier Goffart ogoffart at kde.org
Sun Apr 22 23:47:37 BST 2007


Le dimanche 22 avril 2007, Chusslove Illich a écrit :
> Some time ago, there was a discussion(*) about marking arguments to i18n'd
> messages in a way that allows automatic formatting features, for better
> visual consistency. E.g. a file paths could be always displayed bold, and
> so on. The desired convergence would be to formatting-free messages (having
> no rich text tags, and no quotes).
>
> The discussion was a bit of a furball, but either way we need to decide on
> one thing: how will the programmers mark arguments? I present two options:
>
> i18n("Delete %1?", i18nFilename(file)); // by wrappers
>
> i18n("Delete <filename>%1</filename>?", file); // by tags

I'm also in favor of tags.

Anyway, not all i18n call are going to be displayed in place where it is 
possible to have HTML.
How will i18n cope with that ?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070423/e4a64f33/attachment.sig>


More information about the kde-core-devel mailing list