Skip to main content
1 of 2
R.P.
  • 4.7k
  • 19
  • 43
  • 67

Only in principal ideal domains (PIDs). If by number ring you mean Dedekind domain, then all its localizations at prime ideals are discrete valuation rings (except the one at 0 which is a field), which are principal ideal domains. So then every ideal is locally principal. But of course there are Dedekind domains that are not PIDs!

R.P.
  • 4.7k
  • 19
  • 43
  • 67