Hi Helder,

if you want to use multiple languages, be sure to have installed gettext. This is the engin taking care of translation. If you use linux there should be a gettext package. On widows, install the Complete package from http://gnuwin32.sourceforge.net/packages/gettext.htm

once you have done the cw3setup --install once, it should have created the .po files for your project then you simply have to copy .po files and name them client.pt.po, your_project_name.pt.po, server.your_project_name.pt.po and server.pt.po

then simply add all the translations text in the corresponding msgstr

once you have finished, do a cw3setup --install again so the .po get compiled to .mo

in your project configuration file client.ini and set the following parameters:
defaultLang = pt
if you only want portuguese, set :
langList = pt

for more details, see http://www.cartoweb.org/doc/cw3.2/xhtml/user.i18n.html

Regards
Oliver

I am building my application based on Cartoweb3. I don't know how do I add a
new langague. In my case I want to add Portuguese.

Any help, I would appreciate!!!

Hélder M.C. Muianga
Cell: 82-47 27 160
Formado em Sistemas de Informação
E-mail alternativo:[EMAIL PROTECTED]

"LUTE PELAS TUAS CONVICÇÕES, MESMO QUE ISSO TE CUSTE UMA LÁGRIMA"

_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users


_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Reply via email to