Home Forums Plugin Support WP User Frontend (Free Version) Found how-to post in language other that default using WPML

This topic is: resolved

This topic contains 2 replies, has 3 voices, and was last updated by  harry wen 5 years, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #14727

    Nicholas
    Member
    Post count: 5

    Hi, I am sharing this post, to help other member of this forum.

    Our setup is
    Wordpress 3.8
    WPLM 2.0.1
    WP User Frontend PRO

    Langauges:
    English (default)
    French

    Issue details:
    We have a post form in english with guest mode enabled
    We have a post form in french with guest mode enabled

    When we are posting using the english form, post get created in english
    When we are posting using the french form, post get created in english

    Solution found to fix this is:

    On the french post form we add the following hidden field:
    Meta Key: icl_post_language
    Meta Value: fr

    Save and Publish

    Hope this help!!!

    BTW: this can be used a solution for any language, just need to change the meta value to the language in which you want your post to be.

    Nicholas

    #14735

    Tareq Hasan
    Keymaster
    Post count: 2831

    Hi Nicholas, thanks for posting the solution here. Very much appreciated ๐Ÿ™‚

    #19960

    harry wen
    Member
    Post count: 1
    "On the french post form we add the following hidden field:
    Meta Key: icl_post_language
    Meta Value: fr"

    can anyone tell me how to add a hidden field for language?

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

The topic ‘Found how-to post in language other that default using WPML’ is closed to new replies.