Skip to:
Content
Pages
Categories
Search
Top
Bottom

Where to put language files when customising labels and messages?

  • Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    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)
  • Profile photo of Hugo Ashmore
    Hugo Ashmore
    Moderator

    @hnla

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

    Profile photo of bp-help
    bp-help
    Participant

    @bphelp

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

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    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?

    Profile photo of bp-help
    bp-help
    Participant

    @bphelp

    @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