Home Forums Plugin Support WP User Frontend Pro Change since wordpress 4. for translation and the files the files .mo and .po

This topic is: not resolved

This topic contains 2 replies, has 3 voices, and was last updated by  towhid 3 years, 11 months ago.

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

    LEVEQUE
    Member
    Post count: 1

    Hi ๐Ÿ™‚

    There is a change to place and to name the files .po and .mo since wordpress 4.

    Indeed, the files .po and .mo must have the name wpuf-fr_FR.po and wpuf-fr_FR.mo (for french language in this example) and have to be placed in …/wp-content/plugins/wp-user-frontend-pro/languages/

    There is no need to edit the file wp-config.php because since wp4, you choose your language in the backoffice from wp.

    I searched 2 hours to find the solution compared to your in http://docs.wedevs.com/wp-user-frontend-pro-language/ ๐Ÿ˜‰

    I think it will be good to make a difference between the versions of wordpress

    Regards
    Raphael

    #39772

    Yves
    Participant
    Post count: 23

    I had difficulties figuring out how… And I finally placed these two files in:
    wp-content/languages/plugins

    It works well with ‘loco translate' plugin! This will prevent the files from being overwritten at upgrade time.

    Hope this makes sense,

    Yves

    #39944

    towhid
    Participant
    Post count: 4505

    Hello Yves,

    Thank you for sharing your translation experience. Hope this experience will help somebody if they face this kind of hurdle. ๐Ÿ™‚

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

The topic ‘Change since wordpress 4. for translation and the files the files .mo and .po’ is closed to new replies.