title: English words hyphenation in Russian text
body: <p>I have multi-lingual TeX document mostly in Russian but I also include some terms in English in brackets too to make the reader familiar with international terminology. For example the phrase </p>
  
  <blockquote>
    <p>Два неотъемлемых свойства языка
    программирования - <em>синтаксис</em> (<em>syntax</em>)
    и <em>семантика</em> (<em>semantics</em>).</p>
  </blockquote>
  
  <p>which simply means </p>
  
  <blockquote>
    <p>Two attributes of a programming
    language are its syntax and semantics.</p>
  </blockquote>
  
  <p>looks like</p>
  
  <blockquote>
    <p>Два неотъемлемых свойства языка
    программирования ---
    \textit{синтаксис}
    (\textit{\selectlanguage{english}syntax\selectlanguage{russian}})
    и \textit{семантика}
    (\textit{\selectlanguage{english}semantics\selectlanguage{russian}}).</p>
  </blockquote>
  
  <p>Also I have \usepackage[english,russian]{babel}. </p>
  
  <p>The code looks too verbose because I need to use \selectlanguage twice on each English word to make hyphenation work. Without this I get a couple of</p>
  
  <blockquote>
    <p>Overfull \hbox ...</p>
  </blockquote>
  
  <p>messages because TeX is not able to hyphen English words when they appear at the ends of the lines.</p>
  
  <p><strong>Is there any better solution?</strong></p>
  
  <hr>
  
  <p><strong>In response to Alexey Malistov.</strong></p>
  
  <p>MacTeX distribution has a couple of language.dat files </p>
  
  <ul>
  <li>/usr/local/texlive/2009/texmf-dist/source/generic/babel</li>
  <li>/usr/local/texlive/2009/texmf-dist/doc/generic/babel</li>
  <li>/usr/local/texlive/2009/texmf/tex/generic/config</li>
  <li>/usr/local/texlive/2009/texmf-var/tex/generic/config</li>
  <li>/usr/local/texlive/2009/texmf-dist/tex/lambda/config</li>
  </ul>
  
  <p>I'm not sure which one should I edit. Probably one of the first two. They are identical</p>
  
  <pre><code>% File    : language.dat
  % Purpose : specify which hypenation patterns to load 
  %           while running iniTeX 
  =USenglish
  american ushyphen.tex
  =english
  UKenglish  ukhyphen.tex
  =british
  french   frhyphen.tex
  dutch    nehyph2.tex
  german   dehypht.tex 
  ngerman  dehyphn.tex 
  </code></pre>
  
  <p>But which one?</p>
  
  <p>Also there is no initexmf command. Googling around I found out that analogue is updmap-sys. But I'm not sure... I'm afraid to spoil my TeX installation. Please, give me the right direction.</p>