Home Forums Plugin Support WP User Frontend Pro Language files in wp-content/languages

This topic is: resolved

This topic contains 3 replies, has 2 voices, and was last updated by  Tareq Hasan 4 years, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #21423

    Emiel
    Participant
    Post count: 4

    Hello,

    Is it possible to save customized language files in wp-content/languages/ in order to overrule the language files in the plugin's folder, so these don't have to be copied into the plugin folder after every plugin update?

    Thanks in advance for your reply!

    Kind regards,
    Emiel

    #21448

    Tareq Hasan
    Keymaster
    Post count: 2831

    Hello Emiel,

    Our plugin is not written to pickup language file from wp-content yet, but that would be a good idea to do so.

    Thanks for the idea.

    #21461

    Emiel
    Participant
    Post count: 4

    Hi Tareq,

    Thanks for your reply. I'm glad to hear you think it's a useful idea. Can you mention in the changelog or through this support thread when you got this functionality added? Thanks a lot in advance and thanks for the wpuf pro plugin overall!

    Kind regards,
    Emiel

    #23048

    Tareq Hasan
    Keymaster
    Post count: 2831

    Following up here.

    Actually WordPress does this by default. If WP doesn't find the language file in the plugin folder, it searches on the wp-content/language folder. So for WPUF, the search path is: wp-content/languages/plugins/wpuf-nl_NL.mo

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

The topic ‘Language files in wp-content/languages’ is closed to new replies.