title: Odoo 10 - Translation
body: <p>I have developed a custom module, using English for all the records.</p>
  
  <p>I want to include a localized translation file for a local language (which happens to be Spanish).</p>
  
  <p>I have learnt <a href="https://www.odoo.com/documentation/10.0/reference/translations.html" rel="nofollow noreferrer">here in the Odoo doc</a> that I need to export a .PO file using "New Language (Empty translation template)".</p>
  
  <ol>
  <li><p>I can read the .PO file and understand where do I have the translated files, but my question is, apart from the obvious translation part, how can you "tell" Odoo that you are adding a translation for Spanish?</p></li>
  <li><p>I understand that the .PO file must be put inside i18n folder in the module.
  But which name shall I gave to it for spanish?</p></li>
  <li><p>What shall be added to the file to tell "Odoo" it is a translation for Spanish?</p></li>
  </ol>
  
  <p>Thanks,</p>