Localizations in associative rings