Title: Adding translation via code
Last modified: June 16, 2024

---

# Adding translation via code

 *  Resolved [ivitae](https://wordpress.org/support/users/ivitae/)
 * (@ivitae)
 * [2 years ago](https://wordpress.org/support/topic/adding-translation-via-code/)
 * Is there some API that can be used to add translation via PHP code ?

Viewing 1 replies (of 1 total)

 *  [Andrei](https://wordpress.org/support/users/andrei202/)
 * (@andrei202)
 * [2 years ago](https://wordpress.org/support/topic/adding-translation-via-code/#post-17837825)
 * Hello,
   ​Thank you for reaching out to us!​Currently, TranslatePress does not 
   offer an API that can be used to add translations via PHP code. While this may
   be a potential feature for future updates, as of now our plugin primarily focuses
   on providing an easy-to-use interface for manually translating your WordPress
   website.
 * Sorry for any inconvenience this might cause, and thank you for your understanding.
   ​
   Best regards,

Viewing 1 replies (of 1 total)

The topic ‘Adding translation via code’ is closed to new replies.

 * ![](https://ps.w.org/translatepress-multilingual/assets/icon.svg?rev=3166541)
 * [TranslatePress - Translate Multilingual sites with AI Translation](https://wordpress.org/plugins/translatepress-multilingual/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/translatepress-multilingual/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/translatepress-multilingual/)
 * [Active Topics](https://wordpress.org/support/plugin/translatepress-multilingual/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/translatepress-multilingual/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/translatepress-multilingual/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Andrei](https://wordpress.org/support/users/andrei202/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/adding-translation-via-code/#post-17837825)
 * Status: resolved