i18n with subphrases

2007-05-14 Thread V
Hello! I get i18n working, and it is a great improvement. btw, it would be also nice to see an i18n routing :) this way it would be possible to give descriptive urls in any language but my question is not this if I understood it well, then the __( ) function does not implement string

Re: i18n with subphrases

2007-05-14 Thread dardosordi
use sprintf/printf: sprintf(__('there_are %d comments'), 16); On May 14, 5:07 am, V [EMAIL PROTECTED] wrote: Hello! I get i18n working, and it is a great improvement. btw, it would be also nice to see an i18n routing :) this way it would be possible to give descriptive urls in any

Re: i18n with subphrases

2007-05-14 Thread V
I didn't tried your example, but if I have understood it well, then __('dont_echo') would still echo dont_echo, so to achieve what you wrote you should use __('dont_echo', true) this would probably work, but is tedious, given that you need very often to add some substrings as an other idea it