Localization and the gabriel-popescu embedding