Deploying localization files for Geoprocessing service in ArcGIS Server

337
0
03-02-2020 02:22 AM
Cristian_Galindo
Occasional Contributor III

I have a python geoprocessing tool, it is split in several python files, When I use ArcGIS pro to publish it as a service into the ArcGIS server, all the dependencies are packed and deployed to the service.

Now the tool is internationalized and localized using gettext and have the following structure:

./Alignment.py    
./locale/Spanish/LC_MESSAGES/Alignment.mo
./locale/Spanish/LC_MESSAGES/Alignment.po
./locale/German/LC_MESSAGES/Alignment.mo
./locale/German/LC_MESSAGES/Alignment.po

The python files are deployed but neither *.mo nor *.po files are deployed.

How can I make that those files are included in the set of files deployed to the ArcGIS server?

0 Kudos
0 Replies