fixed method visibility to be used in translation.php