AnsweredAssumed Answered

Deploying localization files for Geoprocessing service in ArcGIS Server

Question asked by xtian79 on Mar 2, 2020

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?

Outcomes