Re: parameterized translation strings; what is the solution?
- From: Toralf Lund <toralf procaptura com>
- To: gtkmm-list gnome org
- Subject: Re: parameterized translation strings; what is the solution?
- Date: Wed, 06 Jun 2007 14:55:27 +0200
Paul Elliott wrote:
How are parameterized translation strings commonly handled? [ ... ]
What is the solution that is used everyday in the real world?
It seems to me that the simple answer to your questions is "printf".
Despite the limitations you mention. I don't think it is entirely true
that it isn't typesafe, by the way. I mean, there aren't (can't be)
proper type checks, of course, but e.g. newer versions gcc/g++ will in
fact issue a warning if there is a mismatch between the format and the
arguments.
- Toralf
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]