title: Using gettext in bash
body: <p>How to use gettext in bash script?</p>
  
  <p>I only found this page, but I don't understand it.</p>
  
  <p><a href="http://www.linuxtopia.org/online_books/advanced_bash_scripting_guide/localization.html" rel="nofollow noreferrer">Localization</a></p>
  
  <p>My script is written like this:</p>
  
  <pre><code> #!/bin/bash
   . lang_file.sh
   echo $LANG_HELLO_WORLD
  </code></pre>
  
  <p>And lang_file.sh look like that:</p>
  
  <pre><code> #!/bin/bash
   LANG_HELLO_WORLD="Hello World"
  </code></pre>
  
  <p>I want to change lang_file.sh to something using gettext, like this:</p>
  
  <pre><code> #!/bin/bash
   LANG_HELLO_WORLD=`some gettext command to get string in user language`
  </code></pre>
  
  <p>I want to use the code in Launchpad, so other users can translate it (.po, .pot files)</p>
  
  <p>Sorry for bad English, any suggestions?</p>