Re: [RFC][PATCH] New message-logging API (kprint)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alan Cox
Date: Friday, October 5, 2007 - 10:01 am

> > With the current code, localisation is not possible to do in a sane

He did say "sane".

Good internationalisation requires you know where the messages are and
where the substitutions (%foo) are. So the entire operation would in fact
require

1.	An option to set "translation friendly please"

2.	A tiny modification to the snprintfoo code to support putting
some kind of marker before/after arguments and maybe doubling a symbol to
avoid vagueness

The submission is overkill compared to what is required for translation
tools and syslog.

Alan
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC][PATCH] New message-logging API (kprint), Vegard Nossum, (Thu Oct 4, 1:04 pm)
Re: [RFC][PATCH] New message-logging API (kprint), Randy Dunlap, (Thu Oct 4, 1:17 pm)
Re: [RFC][PATCH] New message-logging API (kprint), Rob Landley, (Thu Oct 4, 6:59 pm)
Re: [RFC][PATCH] New message-logging API (kprint), Miguel Ojeda, (Fri Oct 5, 12:01 am)
Re: [RFC][PATCH] New message-logging API (kprint), Vegard Nossum, (Fri Oct 5, 6:13 am)
Re: [RFC][PATCH] New message-logging API (kprint), Rob Landley, (Fri Oct 5, 9:05 am)
Re: [RFC][PATCH] New message-logging API (kprint), Rob Landley, (Fri Oct 5, 9:26 am)
Re: [RFC][PATCH] New message-logging API (kprint), Alan Cox, (Fri Oct 5, 10:01 am)
Re: [RFC][PATCH] New message-logging API (kprint), Miguel Ojeda, (Fri Oct 5, 4:01 pm)
Re: [RFC][PATCH] New message-logging API (kprint), Stephen Hemminger, (Fri Oct 5, 5:34 pm)
Re: [RFC][PATCH] New message-logging API (kprint), Vegard Nossum, (Fri Oct 5, 11:10 pm)
Re: [RFC][PATCH] New message-logging API (kprint), Miguel Ojeda, (Sun Oct 7, 3:20 am)
Re: [RFC][PATCH] New message-logging API (kprint), Rob Landley, (Sun Oct 7, 2:50 pm)
Re: [RFC][PATCH] New message-logging API (kprint), Rob Landley, (Sun Oct 7, 2:56 pm)
Re: [RFC][PATCH] New message-logging API (kprint), Randy Dunlap, (Sun Oct 7, 3:32 pm)
Re: [RFC][PATCH] New message-logging API (kprint), Stephen Hemminger, (Mon Oct 8, 8:25 am)
Re: [RFC][PATCH] New message-logging API (kprint), Vegard Nossum, (Mon Oct 8, 8:33 am)
Re: [RFC][PATCH] New message-logging API (kprint), Stephen Hemminger, (Mon Oct 8, 8:42 am)