Title: function to set post language
Last modified: August 21, 2016

---

# function to set post language

 *  [maxpontello](https://wordpress.org/support/users/maxpontello/)
 * (@maxpontello)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/function-to-set-post-language/)
 * Hello,
 * I use the Postie plugin to load articles from a mailbox and publish them on WP.
   Is it available a function to set the language of a post starting from its ID?
   I would invoke this function from Postie as soon as the article arrives.
 * Thank you for any suggestion
    Cheers -max
 * [http://wordpress.org/plugins/ceceppa-multilingua/](http://wordpress.org/plugins/ceceppa-multilingua/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Alessandro Senese aka Ceceppa](https://wordpress.org/support/users/ceceppa/)
 * (@ceceppa)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/function-to-set-post-language/#post-4135758)
 * Now you can’t do it…
    I can add 2 function for set/get language from post ID 
   in next update…
 *  Thread Starter [maxpontello](https://wordpress.org/support/users/maxpontello/)
 * (@maxpontello)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/function-to-set-post-language/#post-4135803)
 * My opinion is that adding functions of automatic set up of the language increases
   considerably the versatility of the plugin.
 * Thank you a lot,
    -max
 *  Plugin Author [Alessandro Senese aka Ceceppa](https://wordpress.org/support/users/ceceppa/)
 * (@ceceppa)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/function-to-set-post-language/#post-4135861)
 * I added the following functions:
    *) cml_get_language_by_slug *) cml_get_language_of_post*)
   cml_set_language_of_post
 * You can find the complete documentation in “Ceceppa Multilingua” -> “Shortcode&
   Functions”

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘function to set post language’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ceceppa-multilingua_4faedb.svg)
 * [Ceceppa Multilingua](https://wordpress.org/plugins/ceceppa-multilingua/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ceceppa-multilingua/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ceceppa-multilingua/)
 * [Active Topics](https://wordpress.org/support/plugin/ceceppa-multilingua/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ceceppa-multilingua/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ceceppa-multilingua/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Alessandro Senese aka Ceceppa](https://wordpress.org/support/users/ceceppa/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/function-to-set-post-language/#post-4135861)
 * Status: not resolved