geonetwork/core-geonetwork — pull request #161 by ianwallen (2013-07-05 01:09:01+00:00)
Title: Updated hard coded French Help link so that it will link any proper language if it exists

Francois,

This change fixes an issue where the French help link was not working due to 2 errors. One it was looking for "fr" and it was also looking for the non standard "fra" (should be "fre")

While fixing the bug I updated it so that it will work with any language that contains the file "docs/{current lang}/users/index.html". This means that "fra" as a language is no longer acceptable and will have to be changed to "fre".

It would be nice to change "docs/fra" to "docs/fre" but I'm not sure if that will cause any issues. So for now I simply use the following in web/pom.xml

../docs/fra/users/build/html
docs/fre/users

You may want to test this patch to make sure it does not affect any of your existing applications.

Thank you