Re: Full locale support now in SVN!
- Posted by Jeremy Cowgar <jeremy at cowga?.co?> May 05, 2008
- 744 views
CChris wrote: > > Your scheme doesn't even take care of the following. Even in the extremely > simple > "Hllo, World!" example. In spanish, sentences that end with an emphasis mark > (!) start with an inverted emphasis mark (¡Hola, Mundo!). Changing word order > just doesn't help. > Completely agreeing with you, Kat. > The scheme does support it just fine. -- English.po hello Hello world World message=$1%s, $2%s! ---- Spanish.po hello Hola world Mundo message=!$2%s $1%s(!)
l:set("English") puts(1, l:translate("message", {l:w("hello"), l:w("world")})) l:set("Spanish") puts(1, l:translate("message", {l:w("hello"), l:w("world")}))
---- Output: Hello, World! !Mundo, Hola(!) -- Jeremy Cowgar http://jeremy.cowgar.com