[Gambas-user] Example to IIF: what is meant here
nando
nando_f at ...951...
Thu Oct 11 21:20:57 CEST 2012
Is this translatable ?
X = 7
PRINT "You have " & X & If(X <> 1, "messages", "message") & " waiting."
---------- Original Message -----------
From: Caveat <Gambas at ...1950...>
To: gambas-user at lists.sourceforge.net
Sent: Wed, 10 Oct 2012 11:57:15 +0200
Subject: Re: [Gambas-user] Example to IIF: what is meant here
> As I read it, it means it would be difficult to make a multi-language
> version of that message. It's too broken up and makes a specific
> English grammatical choice (whether to add 's' for plural).
>
> Someone who wanted to translate this program to work in another
> country's language would struggle with messages like this.
>
> Kind regards,
> Caveat
>
> On 10/10/12 11:46, Rolf-Werner Eilert wrote:
> > Hi all,
> >
> > Who has made the examples for IIF? Maybe you can explain what you meant
> > by "not translatable":
> >
> > ' Never do the following in real code, because it is not translatable!
> > X = 7
> > PRINT "You have " & X & " message" & If(X <> 1, "s", "") & " waiting."
> >
> >
> > Thanks
> >
> > Rolf
> >
> > ------------------------------------------------------------------------------
> > Don't let slow site performance ruin your business. Deploy New Relic APM
> > Deploy New Relic app performance management and know exactly
> > what is happening inside your Ruby, Python, PHP, Java, and .NET app
> > Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> > http://p.sf.net/sfu/newrelic-dev2dev
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
------- End of Original Message -------
More information about the User
mailing list