Re: [Cppcms-users] Question about file path of hello.po in example
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2011-12-07 14:55:46
|
Because this specific example handles multiple locales in the same process and has following lines: dispatcher().assign("^/(en_US|he_IL)/?$",&hello::say_hello,this,1); dispatcher().assign("^(.*)$",&hello::redirect,this); :-) You need to set Chinese locale to use the translation under "/zh/" folder. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.sf.net/ CppDB - C++ SQL Connectivity: http://cppcms.sf.net/sql/cppdb/ >________________________________ > From: 陈抒 <csf...@gm...> >To: cpp...@li... >Sent: Wednesday, December 7, 2011 4:28 PM >Subject: [Cppcms-users] Question about file path of hello.po in example > > >Hello, > I tried localization example tonight,it works. > But I don't know why translator can find the hello.po file in /local/he/LC_MESSAGES folder. But after I rename the folder he to zh and modify the Makefile,I can't see אני רוצה לומר in web page. > > > >陈抒 >Best regards >http://blog.csdn.net/sheismylife > >------------------------------------------------------------------------------ >Cloud Services Checklist: Pricing and Packaging Optimization >This white paper is intended to serve as a reference, checklist and point of >discussion for anyone considering optimizing the pricing and packaging model >of a cloud services business. Read Now! >http://www.accelacomm.com/jaw/sfnl/114/51491232/ >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |