47 | | Now, to test if your Services Provider ZCFG and internal messages are well translatable by the ZOO Kernel, please add the language argument to you request, for instance : for the following url [http://youserver/cgi-bin/zoo_loader.cgi?request=GetCapabilities&service=WPS] use now this one [http://youserver/cgi-bin/zoo_loader.cgi?request=GetCapabilities&service=WPS&language=fr_FR] |
| 47 | Now, to test if your Services Provider ZCFG and internal messages are well translatable by the ZOO Kernel, please add the language argument to you request, for instance : for the following url [http://youserver/cgi-bin/zoo_loader.cgi?request=GetCapabilities&service=WPS] use now this one [http://youserver/cgi-bin/zoo_loader.cgi?request=GetCapabilities&service=WPS&language=fr-FR] |
| 48 | |
| 49 | As many Services Provider Metadata File (zcfg) can be already translated, it can be useful to use the following command to ensure getting back all the translation for the specified language. |
| 50 | |
| 51 | {{{ |
| 52 | #!sh |
| 53 | msgcat -o compilation.po $(find ../../ -name fr_FR.utf8.po) |
| 54 | msgfmt compilation.po -o /usr/share/locale/fr/LC_MESSAGES/zoo-services.mo |
| 55 | }}} |