Answers.Body: <p>Just after starting the bounty i have found what i was looking for:</p>
  
  <p>To merge two .po files you'll need to use some shell magic. I did the following:</p>
  
  <ul>
  <li><p>extract the original civicrm.mo file to a .po file with this gettext-command: <code>msgunfmt civicrm.mo -o civicrm.po</code> to an empty folder</p></li>
  <li><p>paste the .po file of the extension to the same folder</p></li>
  <li><p>merge the two .po files with this command: <code>msgcat --use-first *.po | msgfmt -o civicrm.mo -</code></p></li>
  <li><p>replace the original civicrm.mo file on the server with the newly created one</p></li>
  <li><p>clear cache</p></li>
  </ul>
  
  <p>This is working for me. The extension is translated. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-16T23:29:51.773Z
Answers.LastActivityDate: 2017-01-16T23:29:51.773Z
Answers.UserDisplayName: Volker
Body: <p>I have installed a payment processor extension and it is only in english by default. The vendor delivered a .po and a .mo file with a german translation of the extension. What is the best way to implement the translation of the extension? As I'm new to CiviCRM and following what i have read in the <a href="https://wiki.civicrm.org/confluence/display/CRMDOC/Extension+translation" rel="noreferrer">documentation</a> i need to do it via a team on the Transifex project?</p>
  
  <p>Is this the only way? Or can i do it manually as well? It is connected to a drupal CMS and i know how to translate custom modules in drupal.</p>
  
  <p>Any hint appreciated!</p>
  
Tags: <drupal><payment-processor><localisation><translation><transifex>
Title: How to add additional custom translation for a payment processor?
ThreadText: # How to add additional custom translation for a payment processor?
  
  (Asked by: username_0 on 2017-01-14)
  
  I have installed a payment processor extension and it is only in english by default. The vendor delivered a .po and a .mo file with a german translation of the extension. What is the best way to implement the translation of the extension? As I'm new to CiviCRM and following what i have read in the [documentation](https://wiki.civicrm.org/confluence/display/CRMDOC/Extension+translation) i need to do it via a team on the Transifex project?
  
  Is this the only way? Or can i do it manually as well? It is connected to a drupal CMS and i know how to translate custom modules in drupal.
  
  Any hint appreciated!
  
  **Tags:** drupal, payment-processor, localisation, translation, transifex
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2017-01-16. Score: 4 | Accepted answer
  
  Just after starting the bounty i have found what i was looking for:
  
  To merge two .po files you'll need to use some shell magic. I did the following:
  
  * extract the original civicrm.mo file to a .po file with this gettext-command: `msgunfmt civicrm.mo -o civicrm.po` to an empty folder
  * paste the .po file of the extension to the same folder
  * merge the two .po files with this command: `msgcat --use-first *.po | msgfmt -o civicrm.mo -`
  * replace the original civicrm.mo file on the server with the newly created one
  * clear cache
  
  This is working for me. The extension is translated.
  
  
  ---
  
  