Hopefully someone will correct me if I am wrong. In algebraic geometry over an algebraically closed field $k$, we have a notion of looking at things locally. This is done by looking at a stalk. If $X$ is an affine variety (by definition, an irreducible closed set in $n$-space $k^n$), and $R$ is the coordinate ring of $X$ (by definition, $k[T_1, ... , T_n]$ modulo the prime ideal corresponding to $X$), then we have a notion of a ring $\mathcal O_X(U)$ of regular functions for each open set $U$ of $X$. By definition, the elements of $\mathcal O_X(U)$ are functions from $U$ to $k$ which locally can be written as rational functions in $k$.
Now, if $x$ is a point of $X$, the stalk $\mathcal O_{X,x}$ is the ring of equivalence classes $(f,U)$, where $U$ is a neighborhood of $x$ and $f \in \mathcal O_X(U)$, where two classes $(f,U)$ and $(g,V)$ are the same if $f$ and $g$ agree on some neighborhood of $x$ which is contained in $U \cap V$. The upshot is that $\mathcal O_X(X)$ is canonically isomorphic to $R$, and if $\mathfrak m$ is the maximal ideal of $R$ corresponding to the point $x$, then $\mathcal O_{X,x}$ is canonically isomorphic to $R_{\mathfrak m}$. This is where 'localization' gets its name, because from the geometric side we are literally looking at the local property of functions.
Instead of looking at a variety $X$, you can create similar parallels by looking at an arbitrary commutative ring $B$ and its associated 'affine scheme,' but I don't think these notions were popular until Grothendieck.
Now if $K$ is a number field with ring of integers $A$, then many results about the structure of $A$ are determined by looking at its prime ideals, which can be isolated by localizing. Now if $P$ is a prime ideal of $A$, and $v$ is the absolute value corresponding to $P$, then many properties about $A$ are connected to the completed ring $A_v$.
Since $P$ completes to the unique maximal ideal of $A_v$, it is natural to refer to the quotient field of $A_v$ as a local field, because its properties carry over to properties about the localized ring $A_P$.