Re: [Cppcms-users] localization problem
Brought to you by:
artyom-beilis
From: sergey l. <ccp...@gm...> - 2012-03-26 08:12:27
|
Hello Artyom! I sent to your email VS project that reproduce such behavior. On Sun, Mar 25, 2012 at 11:12 PM, Artyom Beilis <art...@ya...> wrote: > Can you create a sample program and send it? > > Because both methods should work (without -d flag) > > Artyom Beilis > -------------- > CppCMS - C++ Web Framework: http://cppcms.com/ > CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > > ------------------------------ > *From:* sergey lavrov <ccp...@gm...> > *To:* cpp...@li... > *Sent:* Sunday, March 25, 2012 8:00 PM > *Subject:* Re: [Cppcms-users] localization problem > > Hello Artyom! > > I tried use -d flag as described in wiki > http://cppcms.com/wikipp/en/page/cppcms_1x_i18n_and_l10n but > unfortunatly cppcms_tmpl_cc generate the same output as without -d flag. > I also tried using cppcms version 1.0.1 and 0.999.0 but have the same > result. > So I get stuck with it and haven't any ideas. > > On Sun, Mar 25, 2012 at 6:54 PM, Artyom Beilis <art...@ya...>wrote: > > Do you use any cppcms_tmpl_cc flags like -d domain? > Basically it seems strange. > > > > > > >On Thu, Mar 22, 2012 at 3:39 PM, sergey lavrov <ccp...@gm...> > wrote: > > > >Dear All! > >> > >> > >> > >>In controller I have: > >>context().locale("ru_RU.UTF-8"); > >>render("skin", "test", content); > >>response().out() << "test: "<< translate("test"); > >> > >> > > > Both should work. response().out() should have a proper locale. > > Artyom > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > |