After installing the ArcGIS for INSPIRE desktop extension, server extension, and Geodatabase Template, you may want to customise your implementation to support additional European member state languages. The software itself is localized to the French, Spanish and German languages. To localize Esri Geoportal Server component, see Localizing Esri Geoportal Server.
Localize ArcGIS Server Server Object Extension (SOE) service response messages and other localizable strings
ArcGIS for INSPIRE network services support the multi-linguality feature defined in the TG documents of the View and Feature Download Services. The system administrator can add European member state languages to the ArcGIS for INSPIRE Server extension.
The messages are currently available in English, French, Spanish and German. To localize to other languages, it will be necessary to adjust resource bundles. Resource bundles are packages that store messages in a single location, and are independent of the compiled code. Resource bundles provide the capability for a user to add a new language to a system without recompiling the software. The resource bundle files are packed into jar files (*.jar). These jar files are zip files that may contain a folder structure inside. It is suggested users use a proper utility to gain access to the jar files. Most of the messages are bundled in a single jar archive called a4i-ags-messages.jar.
For the ArcGIS for INSPIRE Desktop extension this file can usually be found here: c:\Program Files (x86)\ArcGIS\Desktop10.7.1\java\lib\ext\a4i-ags-messages.jar\
For the ArcGIS for INSPIRE Server extension this file can be found inside of the ArcGIS for INSPIRE Server Object Extension file, which usually can be found here: c:\arcgisserver\config-store\extns\arcgis-for-inspire.soe. The *.soe file also represents a zip file; see path/Install/a4i-ags-messages.jar inside of this file.
Steps to follow for localizing the SOE service messages are described below:
- Make a backup copy of the a4i-ags-messages.jar file.
- Extract the soe_messages*.properties file from the a4i-ags-messages.jar using an extraction utility.
- In your extracted a4i-ags-messages directory, you can add a new resource file that has the language code and variant suffix for the language you want to add.
For example, i-f you want to support the Polish language, you need to add the file soe_messages_pl.properties. You can do this by copying the original English file, renaming it with the Polish suffix, and then translating the strings in that file.
- re-bundle the a4i-ags-messages file into the .jar format once you have added all the new language files to the a4i-ags-messages directory.
- Copy the new a4i-ags-messages.jar file to the server location c:\arcgisserver\config-store\extns\arcgis-for-inspire.soe
Other localizable files and their meanings
File | Description |
---|---|
cat_featuredownloadservice_*.properties | ArcCatalog configuration page for INSPIRE Feature Download Service |
cat_predefineddatasetdownloadservice_*.properties | ArcCatalog configuration page for INSPIRE Predefined Dataset Service |
cat_viewservice_*.properties | ArcCatalog configuration page for INSPIRE View Service |
gemet_themes_*.properties | Official Gemet Theme translations |
layer_resource_*.properties | Translation of INSPIRE Layer names to member state languages |
map_inspireaddin_*.properties | ArcMap AddIn "INSPIRE Tools" |
soe_messages_*.properties | Response messages of ArcGIS for INSPIRE SOE |