Skip to:
Content
Pages
Categories
Search
Top
Bottom

Changing page titles with language file


  • rgrober
    Participant

    @rgrober

    Hello,

    I’ve successfully created language files to manipulate labels, message, etc.

    Everything works well, except for Page Titles. Specifically, I wish to change the text of the ‘Members Directory’ page.

    It’s possible that I haven’t found and manipulated the correct text in the .po file. Does anyone have experience with locating the page titles, specifically the ‘Members Directory’ page title?

    Any help is greatly appreciated!

Viewing 5 replies - 1 through 5 (of 5 total)

  • danbp
    Participant

    @danbp

    Hi @rgrober,

    if you use poEdit, search for Members and you’ll find an string commented [component directory title]. This is the string for member page title. His ID is 584

    or open .po file with Notepad++, and the string is line 2968. Do your change. Save. Open the po with poEdit – do nothing but save, to generate a new mo file. That’s it !


    rgrober
    Participant

    @rgrober

    @danbp, once again, you come to the rescue. I really, really appreciate it.

    I’m going to give this a shot!


    rgrober
    Participant

    @rgrober

    @danbp, I located the line and changed it, but nothing changed on my site.

    You’ve been very generous with your help, but if you have any other suggestions, I’m all ears!


    danbp
    Participant

    @danbp

    Are you sure that the mo file contains you’re change ? If yes, save po/mo in a safe place, then remove po/mo from live site and ensure your site comes in english (default).

    – Reload buddypress_xx_XX.mo to wp-content/languages/plugins/buddypress-xx_XX.mo

    Aside, which language are you using ?


    rgrober
    Participant

    @rgrober

    @danbp, I did double-check that the mo file contains the change, as I tend to make mistakes like this frequently.

    I’m using english.

    I’ve done quite a bit of research on this, and I can’t seem to find a solution.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Changing page titles with language file’ is closed to new replies.
Skip to toolbar