Skip to:
Content
Pages
Categories
Search
Top
Bottom

Where to put language files when customising labels and messages?

  • @henrywright

    Moderator

    In the Customizing Labels, Messages, and URLs article under step 2 of Labels and Messages it says:

    If the /wp-content/languages/ folder does not exist, create it!

    I’m wondering, does the /wp-content/languages/ folder get deleted when WordPress is upgraded?

Viewing 4 replies - 1 through 4 (of 4 total)
  • @hnla

    Participant

    ? Does anything get updated in wp-content, considering it mainly holds themes – custom?, plugins, your uploaded images/files.

    @bphelp

    Participant

    @henrywright
    No, the languages file in /wp-content/languages doesn’t get deleted upon upgrading WordPress.

    @henrywright

    Moderator

    The reason I ask the question is due to the following reply I received on a question I asked here

    The gist of it was the use of a language file is bad practice and any translations made in a language file are overwritten on WordPress upgrade. However, I’m not sure I quite agree. What are your thoughts?

    @bphelp

    Participant

    @henrywright
    Nothing in /wp-content/languages is touched during an upgrade just as a child theme also is not touched during a parent theme upgrade. Whomever conveyed using a language file is bad practice for translation is terribly misinformed. You are right by not agreeing Henry. The fact is this particular files directory has to be created by the admin in cpanel, ftp, or whatever they use for their server and is not replaced nor overwritten with core upgrades.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Where to put language files when customising labels and messages?’ is closed to new replies.
Skip to toolbar