This is the list of currently babel supported languages:
afrikaans.sty
albanian.sty
american.sty
austrian.sty
bahasam.sty
bahasa.sty
basque.sty
breton.sty
british.sty
bulgarian.sty
catalan.sty
croatian.sty
czech.sty
danish.sty
dutch.sty
english.sty
esperanto.sty
estonian.sty
finnish.sty
francais.sty
galician.sty
germanb.sty
greek.sty
hebrew.sty
icelandic.sty
interlingua.sty
irish.sty
italian.sty
latin.sty
lsorbian.sty
magyar.sty
naustrian.sty
ngermanb.sty
norsk.sty
polish.sty
portuges.sty
romanian.sty
russianb.sty
samin.sty
scottish.sty
serbian.sty
slovak.sty
slovene.sty
spanish.sty
swedish.sty
turkish.sty
UKenglish.sty
ukraineb.sty
USenglish.sty
usorbian.sty
welsh.sty
As you can see, Latvian is not included, so currently there's no support for it. I am not familiar with Latvian, but maybe it is similar to one of the languages currently supported, so you can use that module instead?
I found an old 2008 thread in tug.org, regarding Latvian and babel: Adding latvian language (hyphenation and babel)
You can contact Javier Bezos, the current maintainer for babel, and ask him about the status for Latvian. Perhaps there's an on-going project; if not, you can always volunteer to do the job.
There's a fixlatvian package by Andrey Vihrov for use with xelatex; here's the README file:
The FixLatvian package is an attempt to improve Latvian language support in
LaTeX, most prominently in standard document classes. It extends the
functionality of the polyglossia package and as such requires XeTeX to work.
The new features are implemented either directly or through use of other
packages. Notable improvements are listed below:
* Latvian ordinal number format in headings, contents and labels;
* Latvian word order in part, chapter, float, theorem and other headings;
* additional translations, alphabetic numbering using the Latvian alphabet;
* per-page footnote numbers;
* comma decimal separator;
* support for a few other LaTeX packages.
See the documentation (in Latvian) for detailed description and the source
code. See http://code.google.com/p/fixlatvian/ for new releases, future plans
and bug reports.
latvianoption forbabel; perhaps the module has another name or perhaps there's no support for it? – Gonzalo Medina Apr 17 '14 at 18:54latvianin babel. – Gonzalo Medina Apr 17 '14 at 18:58