Change since wordpress 4. for translation and the files the files .mo and .po

This topic contains 2 reply and 3 voices, and was last updated by towhid 9 years ago
Viewing 2 Posts - 1 through 2 (of 2 total)
Author Posts
March 23, 2015 at 4:46 am 39769
towhid 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
March 23, 2015 at 8:30 am 39772
Yves Yves

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

March 25, 2015 at 10:17 am 39944
towhid towhid

Hello Yves,

Thank you for sharing your translation experience. Hope this experience will help somebody if they face this kind of hurdle. 🙂

Viewing 2 Posts - 1 through 2 (of 2 total)