Essentially,
what happens is:
If you look in
this folder:
/usr/lib/verde/etc/apache-tomcat/webapps/mc/WEB-INF/grails-app/i18n
you'll
find all the language resource files.
The file name
format is something like "<mc
component><_xx>.properties"
where
mc component
refers to various UIs of the Management Console - e.g., Desktop Pools, App
Layers, etc.
_xx is the
abbreviation for the language - e.g., _de = German - the default (English)
resource file does not have this part
So:
desktopPool_de.properties
is the German language resource file for the Desktop Pool UI components
desktopPool.properties
is the default (English) language resource file for the Desktop Pool UI
components
The script
above simply overwrites all *_de.properties files with the *.properties files -
e.g.,
cp
desktopPool.properties desktopPool_de.properties
It also makes
a backup of all the *_de.properties files before the copy.
Then - it
restarts VERDE service.
I recommend
that you first make a complete copy of
the /usr/lib/verde/etc/apache-tomcat/webapps/mc/WEB-INF/grails-app/i18n
folder somewhere in case the script totally destroys the contents 😉