Files/Alternate Language Change

From EPrints Documentation
Jump to: navigation, search

I am using the following type of phrases (included in the system-phrases-en.xml) for all supported languages:

 <ep:phrase ref="cgi/set_lang:lang_en">
    <td valign="middle"><ep:pin ref="link">
         <img src="&frontpage;/images/flags/flag_en.png" alt="[en]" border="0"/></ep:pin>
    <td><ep:pin ref="link">English</ep:pin></td>

This phrase requires the flags pictures stored below the html/images directory. In order to make both links work a small patch is necessary in perl_lib/EPrints/