RE: translating in different languages

From: Date: Sun, 04 Mar 2001 20:41:18 +0000
Subject: RE: translating in different languages
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-292@lists.php.net to get a copy of this message
First, thank you for mentioning Polish in your text :-) Second, I think it's not a flexible method. I'm in no way a specialist in translations, but you could find the careful description of the problem of translating at http://stphp.sourceforge.net . In brief, to correctly translate a string from English to Polish simple string substitution is not enough. You need to supply a function, which allows the translator to manipulate texts. Just look at the very simple example (life is more complicated than that): in English: there is 1 apple in the basket there are 2 apples in the basket there are 5 apples in the basket in Polish, respectively: w koszyku jest 1 jablko /* look at 'jest' */ w koszyku sa 2 jablka /* look at 'sa' */ w koszyku jest 5 jablek /* look at 'jest' */ Funny, eh? Do you feel it? Third, the real problem is not related to Smarty at all. Maciek > -----Original Message----- > From: Roel Vanhout [mailto:roel@2e-systems.com] > Sent: Sunday, March 04, 2001 9:25 PM > To: smarty@lists.ispi.net > Subject: [smarty] translating in different languages > > > Hi, > > I'm in the process of adding multi-language support to Smarty. I have > written a preliminary design text on this, which I have attached. I also > have code to implement the described functionality, but I haven't > attached it yet as I want to refine it a bit first before releasing. I > was hoping someone would have some time to read this text, and give some > thought/remarks about it. I think it is configurable enough for pretty > much every situation, but if you think it can be made more generic, let > me know. I hope to be ready with the rest of the code tomorrow or the > day after, I just wanted to get this text out to get some feedback on > it. > > cheers, > > roel >

« previous php.smarty.general (#292) next »