Renaming countries in members browse page

Where do I go to rename the countries in the members browse page?

For example:

I want to rename US to United States, CN to China and AF to Afghanistan

Thanks

Quote · 3 Apr 2011

Open the : templates/base/scripts/BxBaseBrowse.php

find this code line:

$sCountrySection .= $oObject -> genBrowseLink( $sKey, $sValue, $oObject -> genLinkLocation( 'country', $sCountryName), $sImagePath, false );

and replace with this:

$sCountrySection .= $oObject -> genBrowseLink( _t($GLOBALS['aPreValues']['Country'][$sKey]['LKey']), $sValue, $oObject -> genLinkLocation( 'country', $sCountryName), $sImagePath, false );

 

clear all caches

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 4 Apr 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.