|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Cannot translate c-format stringsHi Strings under c-format are not translated in the
squillemail.po, e.g. #, c-format msgid "Viewing Messages: <B>%s</B> to
<B>%s</B> (%s total)" msgstr "Viendo mensajes: del <B>%s</B> al
<B>%s</B> (total %s)" What should I change to have it translated ? Php-format ? Thanks pet ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@... List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users |
|
|
Re: Cannot translate c-format strings> Strings under c-format are not translated in the squillemail.po, e.g.
> > #, c-format > msgid "Viewing Messages: <B>%s</B> to <B>%s</B> (%s total)" > msgstr "Viendo mensajes: del <B>%s</B> al <B>%s</B> (total %s)" > > What should I change to have it translated ? Php-format ? It works for me in various languages, and the code snippet above looks fine to me. Did you remember to restart your web server after "installing" the new "squirrelmail.mo"? -- Fredrik Jervfors The SquirrelMail Project Please support Open Source Software by donating to SquirrelMail! http://squirrelmail.org/donations.php ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@... List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users |
|
|
Re: Cannot translate c-format strings> Strings under c-format are not translated in the squillemail.po, e.g. > > #, c-format > msgid "Viewing Messages: <B>%s</B> to <B>%s</B> (%s total)" > msgstr "Viendo mensajes: del <B>%s</B> al <B>%s</B> (total %s)" > > What should I change to have it translated ? Php-format ? It works for me in various languages, and the code snippet above looks fine to me. Did you remember to restart your web server after "installing" the new "squirrelmail.mo"? dear Fredrick thanks for your answer I tried to use c-format and php-format in the squirrelmail.mo and I've restarted the apache but the strings are not translated I changed few things in the SM code because I had to adjust it for the different environment. Therefore I want to ask you what should I check for these strings ( that belongs to c-format ) to work properly Thanks pet ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@... List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users |
|
|
Re: Cannot translate c-format strings> Strings under c-format are not translated in the squillemail.po, e.g. > > #, c-format > msgid "Viewing Messages: <B>%s</B> to <B>%s</B> (%s total)" > msgstr "Viendo mensajes: del <B>%s</B> al <B>%s</B> (total %s)" > > What should I change to have it translated ? Php-format ? It works for me in various languages, and the code snippet above looks fine to me. Did you remember to restart your web server after "installing" the new "squirrelmail.mo"? Hi Fredrick I found out tha translations with php-format works but not with c-format. How should I change it ? When I simply change the c-format to php-format, do the "msgfmt -o squirrelmail.mo squirrelmail.po" and restart the apache, it doesn't work thnaks ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@... List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users |
|
|
Re: Cannot translate c-format strings>>> Strings under c-format are not translated in the squillemail.po, e.g.
>>> >>> #, c-format >>> msgid "Viewing Messages: <B>%s</B> to <B>%s</B> (%s total)" >>> msgstr "Viendo mensajes: del <B>%s</B> al <B>%s</B> (total %s)" >>> >>> What should I change to have it translated ? Php-format ? >> >> It works for me in various languages, and the code snippet above looks >> fine to me. Did you remember to restart your web server after >> "installing" the new "squirrelmail.mo"? > > I tried to use c-format and php-format in the squirrelmail.mo and I've > restarted the apache but the strings are not translated > > I changed few things in the SM code because I had to adjust it for the > different environment. Therefore I want to ask you what should I check for > these strings ( that belongs to c-format ) to work properly If it says "c-format" or "php-format" in "squirrelmail.po" shouldn't, as far as I know, really matter. Did you try a unmodified version of SquirrelMail? Which translation method are you using? http://squirrelmail.org/wiki/TranslateMethod This is also useful information: http://squirrelmail.org/wiki/SupportingMultipleLanguages -- Fredrik Jervfors The SquirrelMail Project Please support Open Source Software by donating to SquirrelMail! http://squirrelmail.org/donations.php ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@... List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users |
| Free embeddable forum powered by Nabble | Forum Help |